aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin_windows
diff options
context:
space:
mode:
authorBenedikt Reinartz <[email protected]>2016-04-05 17:32:18 +0200
committerBenedikt Reinartz <[email protected]>2016-04-05 17:32:18 +0200
commit2ff5cb306a78bde3eea04d4379eb2c3a5dd2185e (patch)
tree4389f9acc6d782d0969e91502aa97e0b57b00b5b /priv/templates/bin_windows
parent1e15397a4924804f248facc18ccd07076baef7a4 (diff)
downloadrelx-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/bin_windows')
-rw-r--r--priv/templates/bin_windows2
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%