aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2019-05-27 09:06:40 -0600
committerGitHub <[email protected]>2019-05-27 09:06:40 -0600
commitba7be7e3384574019202d3d37366f7fd5e8bf40a (patch)
treefae8cb8e6146ef8098cffaa1154bf0cc11dd203f
parent1275cdd4762fcf27cc3c45fcea5441df458fe100 (diff)
parent86da583da1f217fb058fad4c0a1ec0fb3b42f650 (diff)
downloadrelx-ba7be7e3384574019202d3d37366f7fd5e8bf40a.tar.gz
relx-ba7be7e3384574019202d3d37366f7fd5e8bf40a.tar.bz2
relx-ba7be7e3384574019202d3d37366f7fd5e8bf40a.zip
Merge pull request #724 from venimus/findstr-pathv3.32.0
Fix "'findstr' is not recognized as ..."
-rw-r--r--priv/templates/extended_bin_windows4
1 files changed, 4 insertions, 0 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index c67ffa7..394b352 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -1,3 +1,4 @@
+@echo off
:: This batch file handles managing an Erlang node as a Windows service.
::
:: Commands provided:
@@ -20,6 +21,9 @@
@set erts_vsn={{ erts_vsn }}
@set erl_opts={{ erl_opts }}
+:: Make sure `findstr` is accessible
+@set PATH=%PATH%;%SystemRoot%\System32
+
:: Discover the release root directory from the directory
:: of this script
@set script_dir=%~dp0