fix ctl if installed in location with spaces

This commit is contained in:
j 2014-08-04 20:25:27 +02:00
parent 90b305e26d
commit 1ce50993dd

2
ctl
View file

@ -3,7 +3,7 @@ HOST="[::1]:9842"
NAME="openmedialibrary" NAME="openmedialibrary"
PID="/tmp/$NAME.pid" PID="/tmp/$NAME.pid"
cd `dirname "$0"` cd "`dirname "$0"`"
if [ -e oml ]; then if [ -e oml ]; then
cd .. cd ..
fi fi