diff options
author | Luis Rascão <[email protected]> | 2019-04-03 13:33:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-04-03 13:33:13 +0100 |
commit | 33ac6064760e6b78e6d4a9b67efc1a5b0d69e3e8 (patch) | |
tree | f907e62cd9d5cbcdedf2e9557d91c278938cd163 /priv/templates | |
parent | 492f7f776648527c22c7148f9a75077cdca1bac7 (diff) | |
parent | 13c28fd4d5bfd2f91eeb4ff96ace3a2c321664f7 (diff) | |
download | relx-33ac6064760e6b78e6d4a9b67efc1a5b0d69e3e8.tar.gz relx-33ac6064760e6b78e6d4a9b67efc1a5b0d69e3e8.tar.bz2 relx-33ac6064760e6b78e6d4a9b67efc1a5b0d69e3e8.zip |
Merge pull request #695 from tolbrino/tb-fix-win32-shift
Fix parameter shift on win32 for extension commands
Diffstat (limited to 'priv/templates')
-rw-r--r-- | priv/templates/extended_bin_windows | 5 |
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 |