aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%