aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin_windows
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/extended_bin_windows')
-rw-r--r--priv/templates/extended_bin_windows5
1 files changed, 3 insertions, 2 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index 2d9e0ff..6d8f084 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -324,8 +324,9 @@ set description=Erlang node %node_name%%hostname% in %rootdir%
:: Run extension script
:run_extension
@if exist "%script_dir%\extensions\%1.cmd" (
- shift
- call "%script_dir%\extensions\%1.cmd" %*
+ set _extension_params=%*
+ call set _extension_params=%%_extension_params:*%1=%%
+ call "%script_dir%\extensions\%1.cmd" %%_extension_params%%
)
@goto :eof