diff options
author | David Wragg <dpw@lshift.net> | 2010-01-31 12:36:31 +0000 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2010-01-31 12:36:31 +0000 |
commit | 124361eb175c5f45a54c59229dc070889bcb7af4 (patch) | |
tree | 4b299ad12ab1826e17c36a0f6d2dcd469d882e47 | |
parent | df583955b4522d242715df62e166e4d7d416a50a (diff) | |
download | rabbitmq-server-124361eb175c5f45a54c59229dc070889bcb7af4.tar.gz |
Protect %*
-rwxr-xr-x | scripts/rabbitmq-server.bat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rabbitmq-server.bat b/scripts/rabbitmq-server.bat index 8c92c1cf..4c36771d 100755 --- a/scripts/rabbitmq-server.bat +++ b/scripts/rabbitmq-server.bat @@ -35,6 +35,7 @@ setlocal rem Preserve values that might contain exclamation marks before
rem enabling delayed expansion
set DP0=%~dp0
+set STAR=%*
setlocal enabledelayedexpansion
@@ -158,7 +159,7 @@ if not "!RABBITMQ_NODE_IP_ADDRESS!"=="" ( -mnesia dir \""!RABBITMQ_MNESIA_DIR!"\" ^
!CLUSTER_CONFIG! ^
!RABBITMQ_SERVER_START_ARGS! ^
-!*
+!STAR!
endlocal
endlocal
|