aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2019-05-27 09:05:27 -0600
committerGitHub <[email protected]>2019-05-27 09:05:27 -0600
commit1275cdd4762fcf27cc3c45fcea5441df458fe100 (patch)
tree925246041ffad9c0931975f40305f0f8d8c5ab6f
parent492290827f47aea259323340a4412d9af7584486 (diff)
parent3bc8511d65e8779a251cf2839eb3161aa93ab074 (diff)
downloadrelx-1275cdd4762fcf27cc3c45fcea5441df458fe100.tar.gz
relx-1275cdd4762fcf27cc3c45fcea5441df458fe100.tar.bz2
relx-1275cdd4762fcf27cc3c45fcea5441df458fe100.zip
Merge pull request #719 from escarabelg/patch-1
change '' to ``. Bug windows 7+
-rw-r--r--priv/templates/extended_bin_windows6
1 files changed, 3 insertions, 3 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index 16e3d96..c67ffa7 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -48,7 +48,7 @@
@set "extensions=%extensions1: undefined=%"
:: Extract node type and name from vm.args
-@for /f "usebackq tokens=1-2" %%I in ('findstr /b "\-name \-sname" "%vm_args%"') do @(
+@for /f "usebackq tokens=1-2" %%I in (`findstr /b "\-name \-sname" "%vm_args%"`) do @(
set node_type=%%I
set node_name=%%J
)
@@ -79,7 +79,7 @@
:: Extract the target cookie
:: Do this before relx_get_nodename so we can use it and not create a ~/.erlang.cookie
-@for /f "usebackq tokens=1-2" %%I in ('findstr /b \-setcookie "%vm_args%"') do @(
+@for /f "usebackq tokens=1-2" %%I in (`findstr /b \-setcookie "%vm_args%"`) do @(
set "cookie=%%J"
)
@set "default_cookie_file=%USERPROFILE%\.erlang.cookie"
@@ -96,7 +96,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-2" %%I in (`findstr /r "^[^#]" "%vm_args%"`) do @(
if not "%%I" == "-name" (
if not "%%I" == "-sname" (
if not "%%I" == "-setcookie" (