mirror of https://github.com/apache/activemq.git
Bugfix, ambiguous redirect if unset
Thanks to Drew Wyatt<drew.wyatt@carshop.co.uk>
This commit is contained in:
parent
46160c7b7f
commit
6d24f88d16
|
@ -325,8 +325,12 @@ invokeJar(){
|
||||||
DOIT_POSTFIX=" - $ACTIVEMQ_USER"
|
DOIT_POSTFIX=" - $ACTIVEMQ_USER"
|
||||||
echo "INFO: changing to user '$ACTIVEMQ_USER' to invoke java"
|
echo "INFO: changing to user '$ACTIVEMQ_USER' to invoke java"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Execute java binary
|
# Execute java binary
|
||||||
if [ -n "$TASK_TODO" ] && [ "$TASK_TODO" != "stop" ];then
|
if [ -n "$TASK_TODO" ] && [ "$TASK_TODO" != "stop" ];then
|
||||||
|
if [ -z "$ACTIVEMQ_OUT" ]; then
|
||||||
|
ACTIVEMQ_OUT="/dev/null"
|
||||||
|
fi
|
||||||
$EXEC_OPTION $DOIT_PREFIX "\"$JAVACMD\" $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
$EXEC_OPTION $DOIT_PREFIX "\"$JAVACMD\" $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||||
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
||||||
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
||||||
|
|
Loading…
Reference in New Issue