diff options
author | Benedikt Reinartz <[email protected]> | 2016-04-05 17:32:18 +0200 |
---|---|---|
committer | Benedikt Reinartz <[email protected]> | 2016-04-05 17:32:18 +0200 |
commit | 2ff5cb306a78bde3eea04d4379eb2c3a5dd2185e (patch) | |
tree | 4389f9acc6d782d0969e91502aa97e0b57b00b5b /priv/templates | |
parent | 1e15397a4924804f248facc18ccd07076baef7a4 (diff) | |
download | relx-2ff5cb306a78bde3eea04d4379eb2c3a5dd2185e.tar.gz relx-2ff5cb306a78bde3eea04d4379eb2c3a5dd2185e.tar.bz2 relx-2ff5cb306a78bde3eea04d4379eb2c3a5dd2185e.zip |
Fix erts path discovery on Windows if the path contains spaces.
Diffstat (limited to 'priv/templates')
-rw-r--r-- | priv/templates/bin_windows | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/bin_windows b/priv/templates/bin_windows index 7b1d4d8..fa1c2cc 100644 --- a/priv/templates/bin_windows +++ b/priv/templates/bin_windows @@ -60,7 +60,7 @@ cd %rootdir% set erl=%%i ) @set dir_cmd="%erl%" -noshell -eval "io:format(\"~s\", [filename:nativename(code:root_dir())])." -s init stop -@for /f %%i in ('%%dir_cmd%%') do ( +@for /f "delims=" %%i in ('%%dir_cmd%%') do ( set erl_root=%%i ) @set erts_dir=%erl_root%\erts-%erts_vsn% |