activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject activemq-artemis git commit: Fixes ARTEMIS-348: Error Message: bin/artemis: line 109: [: too many arguments
Date Mon, 18 Jan 2016 15:52:12 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master ffa79f6e2 -> 8c0aa41db


Fixes ARTEMIS-348: Error Message: bin/artemis: line 109: [: too many arguments 


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/8c0aa41d
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/8c0aa41d
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/8c0aa41d

Branch: refs/heads/master
Commit: 8c0aa41db09988acfcfe6ee0aac7bb2debd4df6e
Parents: ffa79f6
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Mon Jan 18 10:51:30 2016 -0500
Committer: Hiram Chirino <hiram@hiramchirino.com>
Committed: Mon Jan 18 10:51:49 2016 -0500

----------------------------------------------------------------------
 .../resources/org/apache/activemq/artemis/cli/commands/bin/artemis | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8c0aa41d/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis
----------------------------------------------------------------------
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 133f69a..2c717fd 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
 


Mime
View raw message