[jboss-cvs] JBossAS SVN: r69216 - branches/JBPAPP_4_2/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jan 22 15:42:55 EST 2008
Author: rrajesh
Date: 2008-01-22 15:42:55 -0500 (Tue, 22 Jan 2008)
New Revision: 69216
Modified:
branches/JBPAPP_4_2/system/src/bin/run.sh
Log:
JBPAPP-569 Update run.sh to set -server flag conditionally
Modified: branches/JBPAPP_4_2/system/src/bin/run.sh
===================================================================
--- branches/JBPAPP_4_2/system/src/bin/run.sh 2008-01-22 20:41:51 UTC (rev 69215)
+++ branches/JBPAPP_4_2/system/src/bin/run.sh 2008-01-22 20:42:55 UTC (rev 69216)
@@ -169,9 +169,11 @@
fi
# Enable -server if we have Hotspot, unless we can't
- # MacOS does not support -server flag
- if [ "$darwin" != "true" ]; then
- JAVA_OPTS="-server $JAVA_OPTS"
+ if [ "x$HAS_HOTSPOT" != "x" ]; then
+ # MacOS does not support -server flag
+ if [ "$darwin" != "true" ]; then
+ JAVA_OPTS="-server $JAVA_OPTS"
+ fi
fi
fi
More information about the jboss-cvs-commits
mailing list