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

This commit is contained in:
Hiram Chirino 2016-01-18 10:51:30 -05:00
parent ffa79f6e2f
commit 8c0aa41db0
1 changed files with 1 additions and 1 deletions

View File

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