FAQ  •  Register  •  Login

Small bug in script serviio.sh

<<

jamo

Serviio newbie

Posts: 1

Joined: Wed Dec 30, 2015 8:38 am

Post Wed Dec 30, 2015 8:53 am

Small bug in script serviio.sh

There is a tiny bug in the script "serviio.sh". Installed on MacOSX, the script is located in /Library/Application Support/Serviio/bin. The first line in the script is:

DIRNAME=`dirname $0`

On MacOSX this expands to

DIRNAME=`dirname /Library/Application Support/Serviio/bin`

As there is a space in the path, this results in the error message: usage: dirname path in the log file.

It is better to use:

DIRNAME=`dirname "$0"`
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 01, 2016 2:53 pm

Re: Small bug in script serviio.sh

thanks, will update

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 110 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.