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 2017/05/24 20:09:17 UTC

[couchdb] branch master updated: Fix configure when whoami errors out

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 <jo...@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" <co...@couchdb.apache.org>'].