[jboss-cvs] JBossAS SVN: r101689 - trunk/main/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Mar 1 13:32:25 EST 2010
Author: mladen.turk at jboss.com
Date: 2010-03-01 13:32:25 -0500 (Mon, 01 Mar 2010)
New Revision: 101689
Modified:
trunk/main/src/bin/run.sh
Log:
Resolve JBPAPP-3796 by using eval as suggested by reporter.
We need to review the behaviour with non bash shells however
Modified: trunk/main/src/bin/run.sh
===================================================================
--- trunk/main/src/bin/run.sh 2010-03-01 18:27:16 UTC (rev 101688)
+++ trunk/main/src/bin/run.sh 2010-03-01 18:32:25 UTC (rev 101689)
@@ -224,7 +224,7 @@
while true; do
if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then
# Execute the JVM in the foreground
- "$JAVA" $JAVA_OPTS \
+ eval "$JAVA" $JAVA_OPTS \
-Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
-classpath "$JBOSS_CLASSPATH" \
org.jboss.Main "$@"
@@ -232,7 +232,7 @@
else
JBOSS_STDOUT="${JBOSS_STDOUT:-/dev/null}"
# Execute the JVM in the background
- "$JAVA" $JAVA_OPTS \
+ eval "$JAVA" $JAVA_OPTS \
-Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
-classpath "$JBOSS_CLASSPATH" \
org.jboss.Main "$@" \
More information about the jboss-cvs-commits
mailing list