cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r360467 - /cocoon/trunk/cocoon.sh
Date Sun, 01 Jan 2006 00:35:57 GMT
Author: giacomo
Date: Sat Dec 31 16:35:54 2005
New Revision: 360467

URL: http://svn.apache.org/viewcvs?rev=360467&view=rev
Log:
maybe this helps solaris

Modified:
    cocoon/trunk/cocoon.sh

Modified: cocoon/trunk/cocoon.sh
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon.sh?rev=360467&r1=360466&r2=360467&view=diff
==============================================================================
--- cocoon/trunk/cocoon.sh (original)
+++ cocoon/trunk/cocoon.sh Sat Dec 31 16:35:54 2005
@@ -149,7 +149,7 @@
 # ----- Set Local Variables ( used to minimize cut/paste) ---------------------
 
 JAVA="$JAVA_HOME/bin/java"
-JAVA_VERSION=$($JAVA -version 2>&1 | awk '/java version/ {print substr($3,4,1)}')
+JAVA_VERSION=`$JAVA -version 2>&1 | awk '/java version/ {print substr($3,4,1)}'`
 if [ "$JAVA_VERSION" -gt 4 ]; then
   JAVA_PLATFORM_SERVER="-Dcom.sun.management.jmxremote"
 fi



Mime
View raw message