User: user57
Date: 02/04/04 16:00:12
Modified: src/bin run.sh
Log:
o fix for bug [ 519741 ] run.sh -server fix
Revision Changes Path
1.5 +10 -2 jboss-system/src/bin/run.sh
Index: run.sh
===================================================================
RCS file: /cvsroot/jboss/jboss-system/src/bin/run.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- run.sh 5 Mar 2002 03:00:31 -0000 1.4
+++ run.sh 5 Apr 2002 00:00:12 -0000 1.5
@@ -5,7 +5,7 @@
## ##
### ====================================================================== ###
-### $Id: run.sh,v 1.4 2002/03/05 03:00:31 user57 Exp $ ###
+### $Id: run.sh,v 1.5 2002/04/05 00:00:12 user57 Exp $ ###
DIRNAME=`dirname $0`
PROGNAME=`basename $0`
@@ -28,10 +28,15 @@
# OS specific support (must be 'true' or 'false').
cygwin=false;
+darwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
+
+ Darwin*)
+ darwin=true
+ ;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
@@ -99,7 +104,10 @@
# If JAVA_OPTS is not set and the JVM is HOTSPOT enabled, then the server mode
if [ "x$JAVA_OPTS" = "x" -a "x$HAS_HOTSPOT" != "x" ]; then
- JAVA_OPTS="-server"
+ # MacOS does not support -server flag
+ if [ "$darwin" != "true" ]; then
+ JAVA_OPTS="-server"
+ fi
fi
# Setup JBoss sepecific properties
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development