merging from asterix_installer_ioc_udfs to bring in the functionality of taking backup on local fs
git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_ioc_installer@1335 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-installer/src/main/resources/scripts/managix b/asterix-installer/src/main/resources/scripts/managix
index 11810ef..cd0794e 100755
--- a/asterix-installer/src/main/resources/scripts/managix
+++ b/asterix-installer/src/main/resources/scripts/managix
@@ -1,20 +1,20 @@
-if [ -z $INSTALLER_HOME ]
+if [ -z $MANAGIX_HOME ]
then
- echo "INSTALLER_HOME is not defined"
+ echo "MANAGIX_HOME is not defined"
exit 1
fi
VERSION=0.0.4-SNAPSHOT
-for jar in `ls $INSTALLER_HOME/lib/*.jar`
+for jar in `ls $MANAGIX_HOME/lib/*.jar`
do
- if [ -z $INSTALLER_CLASSPATH ]
+ if [ -z $MANAGIX_CLASSPATH ]
then
- INSTALLER_CLASSPATH=$jar
+ MANAGIX_CLASSPATH=$jar
else
- INSTALLER_CLASSPATH=$INSTALLER_CLASSPATH:$jar
+ MANAGIX_CLASSPATH=$MANAGIX_CLASSPATH:$jar
fi
done
-INSTALLER_CLASSPATH=$INSTALLER_CLASSPATH:$INSTALLER_HOME/conf/log4j.properties
-java $JAVA_OPTS -Dlog4j.configuration=file:$INSTALLER_HOME/conf/log4j.properties -cp $INSTALLER_CLASSPATH edu.uci.ics.asterix.installer.driver.InstallerDriver $@
+MANAGIX_CLASSPATH=$MANAGIX_CLASSPATH:$MANAGIX_HOME/conf/log4j.properties
+java $JAVA_OPTS -Dlog4j.configuration=file:$MANAGIX_HOME/conf/log4j.properties -cp $MANAGIX_CLASSPATH edu.uci.ics.asterix.installer.driver.InstallerDriver $@