git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@993286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-09-07 08:55:41 +00:00
parent 3c39b5d40b
commit 9fea8b7245
1 changed files with 1 additions and 1 deletions

View File

@ -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"