diff options
author | Ivaylo Badinov <[email protected]> | 2019-05-23 17:27:38 +0300 |
---|---|---|
committer | Ivaylo Badinov <[email protected]> | 2019-05-27 14:10:59 +0300 |
commit | 86da583da1f217fb058fad4c0a1ec0fb3b42f650 (patch) | |
tree | 8021897ca8cb12ad231493bac1f6e41fb2c0b63f /priv/templates | |
parent | ececf1ff9e362571637fb05ab1eea854e2ecf839 (diff) | |
download | relx-86da583da1f217fb058fad4c0a1ec0fb3b42f650.tar.gz relx-86da583da1f217fb058fad4c0a1ec0fb3b42f650.tar.bz2 relx-86da583da1f217fb058fad4c0a1ec0fb3b42f650.zip |
Fix "'findstr' is not recognized as ..."
Make sure findstr is discoverable
(cherry picked from commit 88481962ead6057c1be9658ee50b1131b664dcc4)
Diffstat (limited to 'priv/templates')
-rw-r--r-- | priv/templates/extended_bin_windows | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows index 16e3d96..6a0eb57 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 |