[jboss-cvs] JBossAS SVN: r73354 - branches/JBPAPP_4_3_0_GA_JBPAPP-836/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue May 13 11:03:53 EDT 2008
Author: skoussou at redhat.com
Date: 2008-05-13 11:03:53 -0400 (Tue, 13 May 2008)
New Revision: 73354
Modified:
branches/JBPAPP_4_3_0_GA_JBPAPP-836/system/src/bin/run.sh
Log:
JBPAPP-836 - Modified run.sh
Modified: branches/JBPAPP_4_3_0_GA_JBPAPP-836/system/src/bin/run.sh
===================================================================
--- branches/JBPAPP_4_3_0_GA_JBPAPP-836/system/src/bin/run.sh 2008-05-13 15:00:23 UTC (rev 73353)
+++ branches/JBPAPP_4_3_0_GA_JBPAPP-836/system/src/bin/run.sh 2008-05-13 15:03:53 UTC (rev 73354)
@@ -176,9 +176,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