Error printed when invoking activemq shell script
-------------------------------------------------
Key: AMQ-3698
URL: https://issues.apache.org/jira/browse/AMQ-3698
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.5.1
Environment: Mac OSX 10.6.8 (Intel)
Reporter: Robin Huiser
Priority: Minor
When invoking "activemq" from the commandline, an error is printed:
{code}
<...>/apache-activemq-5.5.1/bin/activemq: line 252: [-z: command not found
{code}
...caused by spaces missing after "[" and before "]|" in shell statement:
{code}
if [-z "$JAVA_HOME"]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira