Usages of $IDEA_BIN_HOME quoted to support paths with spaces inside

This commit is contained in:
Maxim Shafirov
2005-12-01 18:49:27 +03:00
parent eccd4ee661
commit ea128b5dcc
+2 -2
View File
@@ -36,7 +36,7 @@ if [ -z "$IDEA_MAIN_CLASS_NAME" ]; then
fi
REQUIRED_JVM_ARGS="-Xbootclasspath/p:../lib/boot.jar: $IDEA_PROPERTIES_PROPERTY"
JVM_ARGS=`cat $IDEA_HOME/bin/idea.vmoptions | tr '\n' ' '`
JVM_ARGS=`cat "$IDEA_HOME/bin/idea.vmoptions | tr '\n' ' '`"
JVM_ARGS="$JVM_ARGS $REQUIRED_JVM_ARGS"
CLASSPATH=../lib/idea.jar
@@ -52,5 +52,5 @@ export CLASSPATH
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
cd $IDEA_BIN_HOME
cd "$IDEA_BIN_HOME"
exec $IDEA_JDK/bin/java $JVM_ARGS $IDEA_MAIN_CLASS_NAME $*