summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-05-04 16:56:01 +0100
committerTim Watson <tim@rabbitmq.com>2012-05-04 16:56:01 +0100
commitcd154815d147287a1e436d827be5b421fac237b8 (patch)
treeb6a354af9d46870cc3376373356d8d6cf3cbb1d5
parentd409bee9b24e8f5971bba6df415fa076c498d9d3 (diff)
downloadrabbitmq-server-cd154815d147287a1e436d827be5b421fac237b8.tar.gz
fix windows batch file code path handling during cold starts
-rwxr-xr-xscripts/rabbitmq-server.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/rabbitmq-server.bat b/scripts/rabbitmq-server.bat
index ae3cb629..0967024a 100755
--- a/scripts/rabbitmq-server.bat
+++ b/scripts/rabbitmq-server.bat
@@ -96,7 +96,7 @@ set RABBITMQ_EBIN_ROOT=!TDP0!..\ebin
-sname rabbitmqprelaunch!RANDOM! ^
-extra "!RABBITMQ_NODENAME!"
-set RABBITMQ_EBIN_PATH=
+set RABBITMQ_EBIN_PATH="-pa !RABBITMQ_EBIN_ROOT!"
if "!RABBITMQ_CONFIG_FILE!"=="" (
set RABBITMQ_CONFIG_FILE=!RABBITMQ_BASE!\rabbitmq
@@ -116,9 +116,9 @@ if not "!RABBITMQ_NODE_IP_ADDRESS!"=="" (
)
"!ERLANG_HOME!\bin\erl.exe" ^
-!RABBITMQ_EBIN_PATH! ^
+-pa "!RABBITMQ_EBIN_ROOT!" ^
-noinput ^
--boot start_sasl ^
+-boot start_sasl ^
-s rabbit start_cold ^
!RABBITMQ_CONFIG_ARG! ^
-sname !RABBITMQ_NODENAME! ^