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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 14 11:02:00 EST 2011


Author: tfonteyn
Date: 2011-11-14 11:01:59 -0500 (Mon, 14 Nov 2011)
New Revision: 112450

Modified:
   branches/JBPAPP_5_1/main/src/bin/run.sh
Log:
Fix for [JBPAPP-7514]

Modified: branches/JBPAPP_5_1/main/src/bin/run.sh
===================================================================
--- branches/JBPAPP_5_1/main/src/bin/run.sh	2011-11-14 15:58:38 UTC (rev 112449)
+++ branches/JBPAPP_5_1/main/src/bin/run.sh	2011-11-14 16:01:59 UTC (rev 112450)
@@ -63,6 +63,7 @@
 cygwin=false;
 darwin=false;
 linux=false;
+sunos=false;
 case "`uname`" in
     CYGWIN*)
         cygwin=true
@@ -75,8 +76,17 @@
     Linux)
         linux=true
         ;;
+
+    SunOS)
+        sunos=true
+        ;;
 esac
 
+# Solaris standard grep command  does not support "-e"
+if $sunos ; then
+    GREP=/usr/xpg4/bin/grep
+fi
+
 # Read an optional running configuration file
 if [ "x$RUN_CONF" = "x" ]; then
 



More information about the jboss-cvs-commits mailing list