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
1 changed files with 1 additions and 1 deletions

2
ctl
View File

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