From: Tim Otten <totten@civicrm.org>
Date: Fri, 18 Oct 2013 11:34:07 +0000 (+0530)
Subject: setup.sh - Quote directory names (which may have spaces)
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=863efcd6c3c7eb0090255b99a2b43fcf7f7c78dd;p=civicrm-core.git

setup.sh - Quote directory names (which may have spaces)
---

diff --git a/bin/setup.sh b/bin/setup.sh
index 7474b2baf4..bbf19adab1 100755
--- a/bin/setup.sh
+++ b/bin/setup.sh
@@ -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