This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/3.0.x by this push:
new 3544679 Ensure clean PATH for Windows couchdb.cmd (#2709)
3544679 is described below
commit 354467951d9c2e27b99743b9a31280a76d8fb6b2
Author: Joan Touzet <[email protected]>
AuthorDate: Mon Mar 23 14:48:56 2020 -0400
Ensure clean PATH for Windows couchdb.cmd (#2709)
---
rel/files/couchdb.cmd.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rel/files/couchdb.cmd.in b/rel/files/couchdb.cmd.in
index 2504f8c..df99441 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