git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@996685 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-13 20:49:32 +00:00
parent 39cfce287b
commit 7b0300414f
1 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,9 @@ fi
ACTIVEMQ_CONFIG_DIR="$ACTIVEMQ_HOME/conf"
# Active MQ configuration directory
ACTIVEMQ_DATA_DIR="$ACTIVEMQ_HOME/data"
if [ -z "$ACTIVEMQ_DATA_DIR" ]; then
ACTIVEMQ_DATA_DIR="$ACTIVEMQ_HOME/data"
fi
if [ ! -d "$ACTIVEMQ_DATA_DIR" ]; then
mkdir $ACTIVEMQ_DATA_DIR