setup.sh - Quote directory names (which may have spaces)
authorTim Otten <totten@civicrm.org>
Fri, 18 Oct 2013 11:34:07 +0000 (17:04 +0530)
committerTim Otten <totten@civicrm.org>
Fri, 18 Oct 2013 11:34:07 +0000 (17:04 +0530)
bin/setup.sh

index 7474b2baf472828350451396ebb1219d366cee87..bbf19adab1132ba534664d5c7cc2e8aa86d3be69 100755 (executable)
@@ -97,7 +97,7 @@ if [ ! -z $DBADD ]; then
 fi
 
 # run the cli script to build the menu and the triggers
-cd $CALLEDPATH/..
+cd "$CALLEDPATH/.."
 "$PHP5PATH"php bin/cli.php -e System -a flush --triggers 1 --session 1
 
 # reset config_backend and userFrameworkResourceURL which gets set