You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/03/23 18:12:45 UTC

[couchdb] branch win-fix-startup-3.0.x created (now 0b8ea59)

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

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


      at 0b8ea59  Ensure clean PATH for Windows couchdb.cmd

This branch includes the following new commits:

     new 0b8ea59  Ensure clean PATH for Windows couchdb.cmd

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Ensure clean PATH for Windows couchdb.cmd

Posted by wo...@apache.org.
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 <wo...@apache.org>
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