aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
authorAgustin Cautin <[email protected]>2017-09-12 14:39:08 +0200
committerAgustin Cautin <[email protected]>2017-09-12 14:39:08 +0200
commit3e89b1f8abdf5e5d8b5abd1f68a2ba55007f7ccc (patch)
treec932def01a236d2bdca0d2bca22c36cc8a8e9021 /priv/templates
parentaebdf4f457a5da513c1dd6f6e14c528091a4e000 (diff)
downloadrelx-3e89b1f8abdf5e5d8b5abd1f68a2ba55007f7ccc.tar.gz
relx-3e89b1f8abdf5e5d8b5abd1f68a2ba55007f7ccc.tar.bz2
relx-3e89b1f8abdf5e5d8b5abd1f68a2ba55007f7ccc.zip
Do not write erl.ini file with absolute path pointing to the build location.
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/extended_bin_windows14
1 files changed, 0 insertions, 14 deletions
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^)