activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r993286 - /activemq/trunk/assembly/src/release/bin/activemq
Date Tue, 07 Sep 2010 08:55:41 GMT
Author: dejanb
Date: Tue Sep  7 08:55:41 2010
New Revision: 993286

URL: http://svn.apache.org/viewvc?rev=993286&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2898 - grep on solaris

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=993286&r1=993285&r2=993286&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/activemq (original)
+++ activemq/trunk/assembly/src/release/bin/activemq Tue Sep  7 08:55:41 2010
@@ -35,7 +35,7 @@ ACTIVEMQ_CONFIGS="/etc/default/activemq 
 COMMANDLINE_ARGS="$@"
 
 # For using instances
-if ( basename $0 | grep -q "activemq-instance-" );then
+if ( basename $0 | grep "activemq-instance-" > /dev/null);then
    INST="$(basename $0|sed 's/^activemq-instance-//;s/\.sh$//')"
    ACTIVEMQ_CONFIGS="/etc/default/activemq-instance-${INST} $HOME/.activemqrc-instance-${INST}"
    echo "INFO: Using alternative activemq configuration files: $ACCTIVEMQ_CONFIGS"



Mime
View raw message