[jboss-cvs] JBossAS SVN: r70941 - trunk/main/src/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 18 03:05:18 EDT 2008


Author: mladen.turk at jboss.com
Date: 2008-03-18 03:05:18 -0400 (Tue, 18 Mar 2008)
New Revision: 70941

Modified:
   trunk/main/src/bin/run.sh
Log:
Fix posix part of JBAS-5240 by quoting . This allows to have options with embedded qutes

Modified: trunk/main/src/bin/run.sh
===================================================================
--- trunk/main/src/bin/run.sh	2008-03-18 05:27:08 UTC (rev 70940)
+++ trunk/main/src/bin/run.sh	2008-03-18 07:05:18 UTC (rev 70941)
@@ -208,7 +208,7 @@
 while true; do
    if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then
       # Execute the JVM in the foreground
-      "$JAVA" $JAVA_OPTS \
+      "$JAVA" "$JAVA_OPTS" \
          -Djboss.java.opts="$JAVA_OPTS" \
          -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
          -classpath "$JBOSS_CLASSPATH" \
@@ -216,7 +216,7 @@
       JBOSS_STATUS=$?
    else
       # Execute the JVM in the background
-      "$JAVA" $JAVA_OPTS \
+      "$JAVA" "$JAVA_OPTS" \
          -Djboss.java.opts="$JAVA_OPTS" \
          -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
          -classpath "$JBOSS_CLASSPATH" \




More information about the jboss-cvs-commits mailing list