From 7b0300414fbd5404bd0d8890cbb430bf1bcde683 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Mon, 13 Sep 2010 20:49:32 +0000 Subject: [PATCH] apply patch from : https://issues.apache.org/activemq/browse/AMQ-2913 with thanks git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@996685 13f79535-47bb-0310-9956-ffa450edef68 --- assembly/src/release/bin/activemq | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index 21748f11b8..b505348e2b 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -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