aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin_windows
diff options
context:
space:
mode:
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 fbe4a71..06303f5 100644
--- a/priv/templates/bin_windows
+++ b/priv/templates/bin_windows
@@ -61,7 +61,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%