aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor <[email protected]>2019-06-19 12:07:06 +0300
committerVictor <[email protected]>2019-06-28 15:16:35 +0300
commitf1ca290634a6b0684d5e31c11fb3df51bf329d07 (patch)
tree8a15a8057ba4c31c7dcc8d3cdde7ccab03fb75c5
parentfefb9f64f8e3998863418734efb6787798afc598 (diff)
downloadrelx-f1ca290634a6b0684d5e31c11fb3df51bf329d07.tar.gz
relx-f1ca290634a6b0684d5e31c11fb3df51bf329d07.tar.bz2
relx-f1ca290634a6b0684d5e31c11fb3df51bf329d07.zip
Handle multiple tokens
For example: -env Variable Value -pa Dir1 Dir2 ...
-rw-r--r--priv/templates/extended_bin_windows2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index 394b352..5d59ccd 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -100,7 +100,7 @@
:: Collect any additional VM args into erl_opts
@setlocal EnableDelayedExpansion
-@for /f "usebackq tokens=1-2" %%I in (`findstr /r "^[^#]" "%vm_args%"`) do @(
+@for /f "usebackq tokens=1,*" %%I in (`findstr /r "^[^#]" "%vm_args%"`) do @(
if not "%%I" == "-name" (
if not "%%I" == "-sname" (
if not "%%I" == "-setcookie" (