indentation correction
[civicrm-core.git] / bin / setup.sh
index 7474b2baf472828350451396ebb1219d366cee87..1d5435622e1d29069b3006dc18b7d40d4a3d9476 100755 (executable)
@@ -49,7 +49,7 @@ fi
 # checkout, not packaged code
 if [ -d "$CALLEDPATH/../xml" ]; then
   cd "$CALLEDPATH/../xml"
-  "$PHP5PATH"php GenCode.php $SCHEMA
+  "$PHP5PATH"php GenCode.php $SCHEMA '' $GENCODE_CMS
 fi
 
 # someone might want to use empty password for development,
@@ -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