diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-11-03 18:30:05 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-11-03 18:30:05 +0100 |
| commit | d23b788326cb3bbe022962188654bc631e2176e5 (patch) | |
| tree | f0dbae9e66c871cc829f05310d087c59604f35b7 | |
| parent | 21fb84eeff6a56bcd2cfeb31e3db46f8c61d9799 (diff) | |
| download | rabbitmq-server-git-d23b788326cb3bbe022962188654bc631e2176e5.tar.gz | |
rabbitmq-env.bat: Fix how we escape double quotes
| -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 00eca4bdc8..606cea1eb0 100644 --- a/scripts/rabbitmq-env.bat +++ b/scripts/rabbitmq-env.bat @@ -274,14 +274,14 @@ if defined RABBITMQ_DEV_ENV ( REM We may need to query the running node for the plugins directory
REM and the "enabled plugins" file.
if not "%RABBITMQ_PLUGINS_DIR_source%" == "environment" (
- for /f "delims=" %%F in ('!SCRIPT_DIR!\rabbitmqctl eval "{ok, P} = application:get_env(rabbit, plugins_dir), io:format(\"~s~n^\", [P])."') do @set plugins_dir=%%F
+ for /f "delims=" %%F in ('!SCRIPT_DIR!\rabbitmqctl eval "{ok, P} = application:get_env(rabbit, plugins_dir), io:format(""~s~n"", [P])."') do @set plugins_dir=%%F
if exist "!plugins_dir!" (
set RABBITMQ_PLUGINS_DIR=!plugins_dir!
)
REM set plugins_dir=
)
if not "%RABBITMQ_ENABLED_PLUGINS_FILE_source%" == "environment" (
- for /f "delims=" %%F in ('!SCRIPT_DIR!\rabbitmqctl eval "{ok, P} = application:get_env(rabbit, enabled_plugins_file), io:format(\"~s~n\", [P])."') do @set enabled_plugins_file=%%F
+ for /f "delims=" %%F in ('!SCRIPT_DIR!\rabbitmqctl eval "{ok, P} = application:get_env(rabbit, enabled_plugins_file), io:format(""~s~n"", [P])."') do @set enabled_plugins_file=%%F
if exist "!enabled_plugins_file!" (
set RABBITMQ_ENABLED_PLUGINS_FILE=!enabled_plugins_file!
)
|
