diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-08-27 12:12:17 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-08-28 18:54:46 +0200 |
| commit | 774bfff5492ce708816eb4b87ae9f80f86a96396 (patch) | |
| tree | 36e8eb0f18bfd0ab2463ef210485e9e33b3ccdf0 /scripts | |
| parent | e4eb57b518f64de24e8d5ab1c557ebf12f722c6f (diff) | |
| download | rabbitmq-server-git-774bfff5492ce708816eb4b87ae9f80f86a96396.tar.gz | |
rabbitmq-env.bat: Quote the expansion of %1 in `filter_path`
Otherwise, paths containing parenthesis such as `C:/Program Files
(x86)/...` get mis-interpreted and the function fails.
In my testing, the error was:
\Elixir\lib\elixir was unexpected
... based on the fact that Elixir is installed in
`C:\Program Files (x86)\Elixir`.
While here, explicitely calls `rabbitmqctl.bat`, not `rabbitmqctl`. The
latter might be available and picked in a Git clone.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rabbitmq-env.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rabbitmq-env.bat b/scripts/rabbitmq-env.bat index 342230d00b..232a8755c3 100644 --- a/scripts/rabbitmq-env.bat +++ b/scripts/rabbitmq-env.bat @@ -477,9 +477,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
|
