activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r996684 - /activemq/trunk/assembly/src/release/bin/activemq
Date Mon, 13 Sep 2010 20:45:36 GMT
Author: gtully
Date: Mon Sep 13 20:45:35 2010
New Revision: 996684

URL: http://svn.apache.org/viewvc?rev=996684&view=rev
Log:
apply patch from https://issues.apache.org/activemq/browse/AMQ-2912

Modified:
    activemq/trunk/assembly/src/release/bin/activemq

Modified: activemq/trunk/assembly/src/release/bin/activemq
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/activemq?rev=996684&r1=996683&r2=996684&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/activemq (original)
+++ activemq/trunk/assembly/src/release/bin/activemq Mon Sep 13 20:45:35 2010
@@ -250,7 +250,7 @@ if [ "$OSTYPE" = "cygwin" ]; then
 fi
 
 # Detect the location of the java binary
-if [ -z "$JAVACMD" ] ; then
+if [ -z "$JAVACMD" ] || [ "$JAVACMD" = "auto" ] ; then
   if [ -n "$JAVA_HOME"  ] ; then
     if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
       # IBM's JDK on AIX uses strange locations for the executables



Mime
View raw message