This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch win-fix-startup-3.0.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 0b8ea59eb6b4b6fa2d5a5b6960c175ef615d9f59
Author: Joan Touzet <[email protected]>
AuthorDate: Mon Mar 23 14:12:30 2020 -0400

    Ensure clean PATH for Windows couchdb.cmd
---
 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

Reply via email to