couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [2/2] couchdb commit: updated refs/heads/master to 5347973
Date Wed, 07 Oct 2015 14:52:27 GMT
Fix rebar build when sources are provided while binary is not


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/53479733
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/53479733
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/53479733

Branch: refs/heads/master
Commit: 534797334209fb63eea62b946369cfa2a59e8bdf
Parents: 603b9fc
Author: Alexander Shorin <kxepal@apache.org>
Authored: Wed Oct 7 17:50:48 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Oct 7 17:50:48 2015 +0300

----------------------------------------------------------------------
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/53479733/configure
----------------------------------------------------------------------
diff --git a/configure b/configure
index 9e6d952..2e246b0 100755
--- a/configure
+++ b/configure
@@ -651,7 +651,9 @@ EOF
 
 install_local_rebar() {
     if [ ! -x "${rootdir}/bin/rebar" ]; then
-        git clone --depth 1 --branch 2.6.0 https://git-wip-us.apache.org/repos/asf/couchdb-rebar.git
${rootdir}/src/rebar
+        if [ ! -d "${rootdir}/src/rebar" ]; then
+            git clone --depth 1 --branch 2.6.0 https://git-wip-us.apache.org/repos/asf/couchdb-rebar.git
${rootdir}/src/rebar
+        fi
         make -C ${rootdir}/src/rebar
         mv ${rootdir}/src/rebar/rebar ${rootdir}/bin/rebar
         make -C ${rootdir}/src/rebar clean


Mime
View raw message