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"`
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"`