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_windows3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/bin_windows b/priv/templates/bin_windows
index fa1c2cc..06303f5 100644
--- a/priv/templates/bin_windows
+++ b/priv/templates/bin_windows
@@ -34,7 +34,8 @@ cd %rootdir%
@echo Rootdir=%converted_rootdir% >> "%erl_ini%"
:: Start the release in an `erl` shell
-@"%erl%" %erl_opts% %sys_config% -boot "%boot_script%" %*
+@set boot=-boot "%boot_script%" -boot_var RELEASE_DIR "%release_root_dir%"
+@"%erl%" %erl_opts% %sys_config% %boot% %*
@goto :eof