aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-07-20 13:53:28 -0500
committerTristan Sloughter <[email protected]>2015-07-20 13:53:28 -0500
commitef903e6c6ce922754fab858017e5bd3899847161 (patch)
tree7eeeeda48307573be9b7ae6ca10db3cc70c2c822
parentfd9d25650730a764517b591bcf6301a4ddedf8fe (diff)
parent54eef8f53aa218950af366e26523737ed78f9b08 (diff)
downloadrelx-ef903e6c6ce922754fab858017e5bd3899847161.tar.gz
relx-ef903e6c6ce922754fab858017e5bd3899847161.tar.bz2
relx-ef903e6c6ce922754fab858017e5bd3899847161.zip
Merge pull request #374 from carlosedp/fix-windows-startscript
Fix start script not loading sys.config in console
-rw-r--r--priv/templates/extended_bin_windows4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index cb9f747..7adff36 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -110,7 +110,7 @@
:find_sys_config
@set possible_sys=%rel_dir%\sys.config
@if exist %possible_sys% (
- set sys_config=-config %possible_sys%
+ set sys_config=-config "%possible_sys%"
)
@goto :eof
@@ -186,7 +186,7 @@
:: Start a console
:console
-@start "%rel_name% console" %werl% -boot "%boot_script%" "%sys_config%" ^
+@start "%rel_name% console" %werl% -boot "%boot_script%" %sys_config% ^
-args_file "%vm_args%"
@goto :eof