[jboss-cvs] JBossAS SVN: r99303 - in branches/JBPAPP_5_0: server/src/bin and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 12 12:01:54 EST 2010


Author: bshim
Date: 2010-01-12 12:01:54 -0500 (Tue, 12 Jan 2010)
New Revision: 99303

Modified:
   branches/JBPAPP_5_0/build/build.sh
   branches/JBPAPP_5_0/server/src/bin/shutdown.sh
Log:
Fix for JBPAPP-2898 quoting

Modified: branches/JBPAPP_5_0/build/build.sh
===================================================================
--- branches/JBPAPP_5_0/build/build.sh	2010-01-12 16:57:28 UTC (rev 99302)
+++ branches/JBPAPP_5_0/build/build.sh	2010-01-12 17:01:54 UTC (rev 99303)
@@ -126,7 +126,7 @@
 	done
 
 	# make sure we get back
-	cd $_cwd
+	cd "$_cwd"
 
 	if [ "$cwd" != "$ROOT" ]; then
 	    found="true"
@@ -161,7 +161,7 @@
     if [ "x$ANT_DEBUG" != "x" ]; then
 	/bin/sh -x $ANT $ANT_OPTIONS "$@"
     else
-	exec $ANT $ANT_OPTIONS "$@"
+	exec "$ANT" $ANT_OPTIONS "$@"
     fi
 }
 

Modified: branches/JBPAPP_5_0/server/src/bin/shutdown.sh
===================================================================
--- branches/JBPAPP_5_0/server/src/bin/shutdown.sh	2010-01-12 16:57:28 UTC (rev 99302)
+++ branches/JBPAPP_5_0/server/src/bin/shutdown.sh	2010-01-12 17:01:54 UTC (rev 99303)
@@ -69,5 +69,5 @@
 # Execute the JVM
 exec "$JAVA" \
     $JAVA_OPTS \
-    -classpath $JBOSS_CLASSPATH \
+    -classpath "$JBOSS_CLASSPATH" \
     org.jboss.Shutdown "$@"




More information about the jboss-cvs-commits mailing list