[jboss-cvs] JBossAS SVN: r70962 - branches/JBPAPP_4_2_0_GA_CP/system/src/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 18 16:38:16 EDT 2008


Author: dbhole
Date: 2008-03-18 16:38:16 -0400 (Tue, 18 Mar 2008)
New Revision: 70962

Modified:
   branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
Log:

Resolve JBPAPP-593: Add quotes around 0-length check for $SWITCH



Modified: branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh	2008-03-18 19:49:55 UTC (rev 70961)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh	2008-03-18 20:38:16 UTC (rev 70962)
@@ -16,7 +16,7 @@
 
 arg_count=1
 eval SWITCH=\${$arg_count}
-while [ ! -z $SWITCH ]
+while [ ! -z "$SWITCH" ]
 do
 
         if [ "$SWITCH" = "-c" ]; then




More information about the jboss-cvs-commits mailing list