Author: rareddy
Date: 2009-07-08 18:09:17 -0400 (Wed, 08 Jul 2009)
New Revision: 1114
Modified:
trunk/build/kit-embedded/bin/run.sh
Log:
TEIID-702
Modified: trunk/build/kit-embedded/bin/run.sh
===================================================================
--- trunk/build/kit-embedded/bin/run.sh 2009-07-08 20:37:22 UTC (rev 1113)
+++ trunk/build/kit-embedded/bin/run.sh 2009-07-08 22:09:17 UTC (rev 1114)
@@ -67,8 +67,8 @@
fi
# generate teiid.keystore if does not exist.
-KEYSTORE_FILE = $TEIID_HOME/deploy/teiid.keystore
-if [ ! -f $KEYSTORE_FILE ]
+KEYSTORE_FILE=$TEIID_HOME/deploy/teiid.keystore
+if [ ! -f $KEYSTORE_FILE ]; then
"$JAVA" -classpath $TEIID_CLASSPATH
com.metamatrix.common.util.crypto.CryptoUtil -genkey $KEYSTORE_FILE
echo "A new key with keystore generated at $KEYSTORE_FILE"
fi