mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2898 - grep on solaris
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@993286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c39b5d40b
commit
9fea8b7245
|
@ -35,7 +35,7 @@ ACTIVEMQ_CONFIGS="/etc/default/activemq $HOME/.activemqrc"
|
|||
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"
|
||||
|
|
Loading…
Reference in New Issue