mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Usages of $IDEA_BIN_HOME quoted to support paths with spaces inside
This commit is contained in:
+2
-2
@@ -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 $*
|
||||
|
||||
Reference in New Issue
Block a user