From eb81c6ef1b11343d9282770c0c129faaf1574033 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Fri, 12 Nov 2010 11:41:43 +0000 Subject: [PATCH] https://issues.apache.org/activemq/browse/AMQ-2453 - additional portability improvements git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034352 13f79535-47bb-0310-9956-ffa450edef68 --- assembly/src/release/bin/activemq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index 9383820d36..643f6327c1 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -361,7 +361,7 @@ invokeJar(){ echo \$APID > $PIDFILE; echo \"INFO: pidfile created : '$PIDFILE' (pid '\$APID')\";exit \$RET" $DOIT_POSTFIX RET="$?" - elif [ -n "$PIDFILE" ] && [ "$PIDFILE" == "stop" ];then + elif [ -n "$PIDFILE" ] && [ "$PIDFILE" = "stop" ];then $DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \ -Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \ -Dactivemq.home=\"${ACTIVEMQ_HOME}\" \ @@ -513,7 +513,7 @@ invoke_stop(){ COMMANDLINE_ARGS="$COMMANDLINE_ARGS $ACTIVEMQ_SUNJMX_CONTROL" invokeJar "stop" RET="$?" - echo -n "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : " + echo "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : \c" FOUND="0" i=1 while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do