diff --git a/manage.sh b/manage.sh
index 0a21f0eb3..9479e788e 100755
--- a/manage.sh
+++ b/manage.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-BASE_DIR=$(dirname `readlink -f $0`)
+BASE_DIR=$(dirname "`readlink -f "$0"`")
 PYTHONPATH=$BASE_DIR
 SEARX_DIR="$BASE_DIR/searx"
 ACTION=$1