fix ctl if installed in location with spaces
This commit is contained in:
parent
90b305e26d
commit
1ce50993dd
1 changed files with 1 additions and 1 deletions
2
ctl
2
ctl
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue