summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-env.bat
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2016-04-05 10:33:18 -0700
committerMichael Klishin <michael@clojurewerkz.org>2016-04-05 10:33:18 -0700
commit869f06811a7dac184673950cd2a524efbb229311 (patch)
tree0037c2b30ee87ada898c4ba6c420447739fbc000 /scripts/rabbitmq-env.bat
parent71a7cc423d2e3760adf0f3cbe26c278f9b2eec5a (diff)
parent475763ec2162d30610ddcc3aefb9683d434110d9 (diff)
downloadrabbitmq-server-git-869f06811a7dac184673950cd2a524efbb229311.tar.gz
Merge branch 'stable'
Diffstat (limited to 'scripts/rabbitmq-env.bat')
-rw-r--r--scripts/rabbitmq-env.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rabbitmq-env.bat b/scripts/rabbitmq-env.bat
index 430395accf..fb290b6075 100644
--- a/scripts/rabbitmq-env.bat
+++ b/scripts/rabbitmq-env.bat
@@ -47,6 +47,10 @@ REM set SERVER_ERL_ARGS=+P 1048576
REM ## Get configuration variables from the configure environment file
REM [ -f ${CONF_ENV_FILE} ] && . ${CONF_ENV_FILE} || true
+if "!RABBITMQ_CONF_ENV_FILE!"=="" (
+ set RABBITMQ_CONF_ENV_FILE=!CONF_ENV_FILE!
+)
+
if exist "!RABBITMQ_CONF_ENV_FILE!" (
call "!RABBITMQ_CONF_ENV_FILE!"
)