User: kimptoc
Date: 01/09/10 05:40:33
Modified: src/bin run.sh
Log:
fixed bug with regard to setting the -server flag, it was never being set before
Revision Changes Path
1.29 +2 -2 jboss/src/bin/run.sh
Index: run.sh
===================================================================
RCS file: /cvsroot/jboss/jboss/src/bin/run.sh,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- run.sh 2001/09/07 22:30:47 1.28
+++ run.sh 2001/09/10 12:40:33 1.29
@@ -5,7 +5,7 @@
## ##
### ====================================================================== ###
-### $Id: run.sh,v 1.28 2001/09/07 22:30:47 starksm Exp $ ###
+### $Id: run.sh,v 1.29 2001/09/10 12:40:33 kimptoc Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
@@ -44,7 +44,7 @@
HAS_HOTSPOT=`$JAVA -version 2>&1 | $GREP HotSpot`
# If JAVA_OPTS is not set and the JVM is HOTSPOT enabled, then the server mode
-if [ "x$JAVA_OPTS" = "x" -a "x$HOTSPOT" != "x" ]; then
+if [ "x$JAVA_OPTS" = "x" -a "x$HAS_HOTSPOT" != "x" ]; then
JAVA_OPTS="-server"
fi
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development