[jboss-cvs] JBossAS SVN: r64191 - branches/JBPAPP_4_2_0_GA_CP/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Jul 22 17:29:47 EDT 2007
Author: jiwils
Date: 2007-07-22 17:29:47 -0400 (Sun, 22 Jul 2007)
New Revision: 64191
Modified:
branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
Log:
Fix for [JBPAPP-253] to solve the requirement that '-c' must before the 10th command line argument.
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 2007-07-22 19:46:30 UTC (rev 64190)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh 2007-07-22 21:29:47 UTC (rev 64191)
@@ -15,7 +15,7 @@
JBOSSCONF="production"
arg_count=1
-eval SWITCH=\$$arg_count
+eval SWITCH=\${$arg_count}
while [ ! -z $SWITCH ]
do
@@ -25,7 +25,7 @@
fi
arg_count=`expr $arg_count + 1`
- eval SWITCH=\$$arg_count
+ eval SWITCH=\${$arg_count}
done
# Use the maximum available, or set MAX_FD != -1 to use that
@@ -58,7 +58,7 @@
Darwin*)
darwin=true
;;
-
+
Linux)
linux=true
;;
@@ -259,7 +259,7 @@
# If restart doesn't work, check you are running JBossAS 4.0.4+
# http://jira.jboss.com/jira/browse/JBAS-2483
# or the following if you're running Red Hat 7.0
- # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html
+ # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html
if [ $JBOSS_STATUS -eq 10 ]; then
echo "Restarting JBoss..."
else
More information about the jboss-cvs-commits
mailing list