summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bakken <lbakken@pivotal.io>2019-08-28 12:23:37 -0700
committerLuke Bakken <lbakken@pivotal.io>2019-08-28 12:24:07 -0700
commit111f9c28cab05c28f6345d01f842f31327ee01bc (patch)
tree2f38b0c265d5e5777d74a1c35474433ddace40a1
parent8385bab7c71d1befa7abc0371e9736ab2ce70148 (diff)
downloadrabbitmq-server-git-111f9c28cab05c28f6345d01f842f31327ee01bc.tar.gz
Merge pull request #2088 from rabbitmq/fix-rabbitmq-env.bat-filter_paths-quoting
rabbitmq-env.bat: Quote the expansion of %1 in `filter_path` (cherry picked from commit 5b2d79b8ea09e8480b13af3fea2a6d9c4c9676f0)
-rw-r--r--scripts/rabbitmq-env.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rabbitmq-env.bat b/scripts/rabbitmq-env.bat
index b068ee45f5..c3220b06b0 100644
--- a/scripts/rabbitmq-env.bat
+++ b/scripts/rabbitmq-env.bat
@@ -468,9 +468,9 @@ goto :eof
:filter_path
IF "%ERL_LIBS%"=="" (
- set ERL_LIBS=%~dp1%~n1%~x1
+ set "ERL_LIBS=%~dp1%~n1%~x1"
) else (
- set ERL_LIBS=%ERL_LIBS%;%~dp1%~n1%~x1
+ set "ERL_LIBS=!ERL_LIBS!;%~dp1%~n1%~x1"
)
goto :eof