This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/3.x by this push:
new e90bb1d Ensure clean PATH for Windows couchdb.cmd (#2710)
e90bb1d is described below
commit e90bb1d5d4f4d1623736881a76dee5f1b1ebdd54
Author: Joan Touzet <[email protected]>
AuthorDate: Mon Mar 23 14:48:53 2020 -0400
Ensure clean PATH for Windows couchdb.cmd (#2710)
---
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