From 1ce50993dd9147cc558e894d6c607d509efbc5c4 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 4 Aug 2014 20:25:27 +0200 Subject: [PATCH] fix ctl if installed in location with spaces --- ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctl b/ctl index b74ffcb..44df4ba 100755 --- a/ctl +++ b/ctl @@ -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