aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin_windows.dtl
diff options
context:
space:
mode:
authorsyl20bnr <[email protected]>2014-11-06 13:49:53 -0500
committersyl20bnr <[email protected]>2014-11-06 13:49:53 -0500
commit4242fc4c3d7d907475ad41d5de7ded3f51183edd (patch)
tree0f59a61f5713954c1e6f4c0a3b339df7528c2930 /priv/templates/bin_windows.dtl
parent655b54a45c5d1a2e319841408c0b5431ea0cd9e2 (diff)
downloadrelx-4242fc4c3d7d907475ad41d5de7ded3f51183edd.tar.gz
relx-4242fc4c3d7d907475ad41d5de7ded3f51183edd.tar.bz2
relx-4242fc4c3d7d907475ad41d5de7ded3f51183edd.zip
Remove uneeded @ which may output error messages
Diffstat (limited to 'priv/templates/bin_windows.dtl')
-rw-r--r--priv/templates/bin_windows.dtl16
1 files changed, 8 insertions, 8 deletions
diff --git a/priv/templates/bin_windows.dtl b/priv/templates/bin_windows.dtl
index 7a8952b..226549d 100644
--- a/priv/templates/bin_windows.dtl
+++ b/priv/templates/bin_windows.dtl
@@ -9,7 +9,7 @@
:: Set the root release directory based on the location of this batch file
@set script_dir=%~dp0
@for %%A in ("%script_dir%\..") do (
- @set "release_root_dir=%%~fA"
+ set "release_root_dir=%%~fA"
)
@set rel_dir=%release_root_dir%\releases\%rel_vsn%
@@ -42,9 +42,9 @@ cd %rootdir%
:find_erts_dir
@set erts_dir=%release_root_dir%\erts-%erts_vsn%
@if exist %erts_dir% (
- @goto :set_erts_dir_from_default
+ goto :set_erts_dir_from_default
) else (
- @goto :set_erts_dir_from_erl
+ goto :set_erts_dir_from_erl
)
@goto :eof
@@ -57,11 +57,11 @@ cd %rootdir%
:: Set the ERTS dir from erl
:set_erts_dir_from_erl
@for /f "delims=" %%i in ('where erl') do (
- @set erl=%%i
+ 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 (
- @set erl_root=%%i
+ set erl_root=%%i
)
@set erts_dir=%erl_root%\erts-%erts_vsn%
@set rootdir=%erl_root%
@@ -71,15 +71,15 @@ cd %rootdir%
: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
:: set boot_script variable
:set_boot_script_var
@if exist "%rel_dir%\%rel_name%.boot" (
- @set boot_script=%rel_dir%\%rel_name%
+ set boot_script=%rel_dir%\%rel_name%
) else (
- @set boot_script=%rel_dir%\start
+ set boot_script=%rel_dir%\start
)
@goto :eof