From 3e89b1f8abdf5e5d8b5abd1f68a2ba55007f7ccc Mon Sep 17 00:00:00 2001 From: Agustin Cautin Date: Tue, 12 Sep 2017 14:39:08 +0200 Subject: Do not write erl.ini file with absolute path pointing to the build location. --- priv/templates/extended_bin_windows | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'priv') diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows index fc15b74..f4dae66 100644 --- a/priv/templates/extended_bin_windows +++ b/priv/templates/extended_bin_windows @@ -66,9 +66,6 @@ ) @endlocal && set erl_opts=%erl_opts% -:: Write the erl.ini file to set up paths relative to this script -@call :write_ini - :: If a start.boot file is not present, copy one from the named .boot file @if not exist "%rel_dir%\start.boot" ( copy "%rel_dir%\%rel_name%.boot" "%rel_dir%\start.boot" >nul @@ -136,17 +133,6 @@ ) @goto :eof -:: Write the erl.ini file -:write_ini -@set erl_ini=%erts_dir%\bin\erl.ini -@set converted_bindir=%bindir:\=\\% -@set converted_rootdir=%rootdir:\=\\% -@echo [erlang] > "%erl_ini%" -@echo Bindir=%converted_bindir% >> "%erl_ini%" -@echo Progname=%progname% >> "%erl_ini%" -@echo Rootdir=%converted_rootdir% >> "%erl_ini%" -@goto :eof - :: Display usage information :usage @echo usage: %~n0 ^(install^|uninstall^|start^|stop^|restart^|upgrade^|downgrade^|console^|ping^|list^|attach^) -- cgit v1.2.3