[jboss-cvs] JBossAS SVN: r110336 - branches/JBPAPP_5_1/main/src/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 12 10:38:17 EST 2011


Author: permaine
Date: 2011-01-12 10:38:16 -0500 (Wed, 12 Jan 2011)
New Revision: 110336

Modified:
   branches/JBPAPP_5_1/main/src/bin/run.sh
Log:
JBPAPP-5347 run.sh script using IBM java cannot detect 64bit version

Modified: branches/JBPAPP_5_1/main/src/bin/run.sh
===================================================================
--- branches/JBPAPP_5_1/main/src/bin/run.sh	2011-01-12 15:24:45 UTC (rev 110335)
+++ branches/JBPAPP_5_1/main/src/bin/run.sh	2011-01-12 15:38:16 UTC (rev 110336)
@@ -229,7 +229,7 @@
         export PATH="$JBOSS_NATIVE_DIR:$PATH"
         JBOSS_NATIVE_LIBPATH=`cygpath --path --windows "$JBOSS_NATIVE_DIR"`
     else
-        IS_64_BIT_JVM=`"$JAVA" $JVM_OPTVERSION 2>&1 | $GREP -i 64-bit`
+        IS_64_BIT_JVM=`"$JAVA" $JVM_OPTVERSION 2>&1 | $GREP -i -e 64-bit -e amd64-64 -e ppc64-64`
         if [ "x$IS_64_BIT_JVM" != "x" ]; then
             JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib64"
         else



More information about the jboss-cvs-commits mailing list