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:13:16 UTC
[couchdb] branch win-fix-startup-3.x created (now 96b2cff)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a change to branch win-fix-startup-3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 96b2cff Ensure clean PATH for Windows couchdb.cmd
This branch includes the following new commits:
new 96b2cff 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.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 96b2cff4a1b9334f4e243a42bcd66fdaf4851fb0
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Mon Mar 23 14:13:05 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