From 8c0aa41db09988acfcfe6ee0aac7bb2debd4df6e Mon Sep 17 00:00:00 2001 From: Hiram Chirino Date: Mon, 18 Jan 2016 10:51:30 -0500 Subject: [PATCH] Fixes ARTEMIS-348: Error Message: bin/artemis: line 109: [: too many arguments --- .../org/apache/activemq/artemis/cli/commands/bin/artemis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis index 133f69aaae..2c717fd3d1 100755 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis @@ -106,7 +106,7 @@ if $cygwin ; then fi # Empty JAVA_ARGS unless the command is 'run' or 'data'. See https://issues.apache.org/jira/browse/ARTEMIS-318. -if [ $1 != "run" -a $1 != "data" ]; then +if [ "$1" != "run" -a "$1" != "data" ]; then JAVA_ARGS="" fi