summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <wohali@users.noreply.github.com>2020-03-23 14:48:59 -0400
committerGitHub <noreply@github.com>2020-03-23 14:48:59 -0400
commit5c52904c2d12e9b75450ed82aebfefc1b6100884 (patch)
treea42df521cc1d561f84d8a609f840472acaa9ed65
parentc38a2c27b1ba6fcd9fe929ec2be548a15e2b98c7 (diff)
downloadcouchdb-5c52904c2d12e9b75450ed82aebfefc1b6100884.tar.gz
Ensure clean PATH for Windows couchdb.cmd (#2708)
-rw-r--r--rel/files/couchdb.cmd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rel/files/couchdb.cmd.in b/rel/files/couchdb.cmd.in
index 2504f8c60..df9944196 100644
--- a/rel/files/couchdb.cmd.in
+++ b/rel/files/couchdb.cmd.in
@@ -23,7 +23,7 @@ FOR /F "tokens=2" %%G IN ("%START_ERL%") DO SET APP_VSN=%%G
set BINDIR=%ROOTDIR%/erts-%ERTS_VSN%/bin
set EMU=beam
set PROGNAME=%~n0
-set PATH=%PATH%;%COUCHDB_BIN_DIR%
+set PATH=%COUCHDB_BIN_DIR%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
IF NOT DEFINED COUCHDB_QUERY_SERVER_JAVASCRIPT SET COUCHDB_QUERY_SERVER_JAVASCRIPT={{prefix}}/bin/couchjs {{prefix}}/share/server/main.js
IF NOT DEFINED COUCHDB_QUERY_SERVER_COFFEESCRIPT SET COUCHDB_QUERY_SERVER_COFFEESCRIPT={{prefix}}/bin/couchjs {{prefix}}/share/server/main-coffee.js