diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-10-29 09:49:05 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-10-29 09:49:05 +0000 |
commit | c41b387fef3148b44c3687317cb99663a3f8577f (patch) | |
tree | cb3d3e78892ac13d70a98d1cf3a2d9b1be856768 /scripts/rabbitmq-service.bat | |
parent | 1291cc279c5cbddc499c762fe46142fb3c885560 (diff) | |
download | rabbitmq-server-c41b387fef3148b44c3687317cb99663a3f8577f.tar.gz |
prevent vars from escaping the script and polluting the env
also some minor cosmetic changes
Diffstat (limited to 'scripts/rabbitmq-service.bat')
-rwxr-xr-x | scripts/rabbitmq-service.bat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rabbitmq-service.bat b/scripts/rabbitmq-service.bat index bdfc22c0..7b911cbd 100755 --- a/scripts/rabbitmq-service.bat +++ b/scripts/rabbitmq-service.bat @@ -30,6 +30,8 @@ REM REM Contributor(s): ______________________________________.
REM
+setlocal
+
if "%RABBITMQ_SERVICENAME%"=="" (
set RABBITMQ_SERVICENAME=RabbitMQ
)
@@ -200,3 +202,5 @@ goto END :END
+
+endlocal
|