couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woh...@apache.org
Subject [couchdb] branch master updated: Fix configure when whoami errors out
Date Wed, 24 May 2017 20:09:17 GMT
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/master by this push:
       new  0d09ab3   Fix configure when whoami errors out
0d09ab3 is described below

commit 0d09ab3378a5286f81604524fb703459d681a135
Author: Joan Touzet <joant@atypical.net>
AuthorDate: Wed May 24 16:08:57 2017 -0400

    Fix configure when whoami errors out
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index d2b3e8a..5145510 100755
--- a/configure
+++ b/configure
@@ -27,7 +27,7 @@ WITH_FAUXTON=1
 WITH_DOCS=1
 SKIP_DEPS=0
 
-COUCHDB_USER=`whoami`
+COUCHDB_USER="$(whoami 2>/dev/null || echo couchdb)"
 
 . ${rootdir}/version.mk
 COUCHDB_VERSION=${vsn_major}.${vsn_minor}.${vsn_patch}

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <commits@couchdb.apache.org>'].

Mime
View raw message