[jboss-cvs] JBossAS SVN: r82230 - branches/JBPAPP_4_2_0_GA_CP/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 11 11:46:59 EST 2008
Author: permaine
Date: 2008-12-11 11:46:59 -0500 (Thu, 11 Dec 2008)
New Revision: 82230
Modified:
branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
Log:
JBPAPP-1273 run.sh does not correctly identify source run.conf when using --configuration 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-12-11 15:41:21 UTC (rev 82229)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh 2008-12-11 16:46:59 UTC (rev 82230)
@@ -26,6 +26,12 @@
break
fi
+ echo "$SWITCH" | grep "^\-\-configuration=" > /dev/null
+ if [ $? -eq 0 ]; then
+ JBOSSCONF=`echo $SWITCH|sed 's/\-\-configuration=//'`
+ break
+ fi
+
arg_count=`expr $arg_count + 1`
eval SWITCH=\${$arg_count}
done
More information about the jboss-cvs-commits
mailing list