You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2010/09/07 10:55:41 UTC

svn commit: r993286 - /activemq/trunk/assembly/src/release/bin/activemq

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"