You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/01/03 16:45:01 UTC
[couchdb] branch mod-local-bin-tools-bootstrap created (now effda28fb)
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a change to branch mod-local-bin-tools-bootstrap
in repository https://gitbox.apache.org/repos/asf/couchdb.git
at effda28fb Use the bootstrap script to build local rebar
This branch includes the following new commits:
new effda28fb Use the bootstrap script to build local rebar
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: Use the bootstrap script to build local rebar
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch mod-local-bin-tools-bootstrap
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit effda28fb2af506d510cece3ac556bb3a7318e88
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Tue Jan 3 17:43:38 2023 +0100
Use the bootstrap script to build local rebar
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 9f8cb6828..955363b37 100755
--- a/configure
+++ b/configure
@@ -294,12 +294,12 @@ EOF
install_local_rebar() {
if [ ! -x "${rootdir}/bin/rebar" ]; then
if [ ! -d "${rootdir}/src/rebar" ]; then
- # git clone --depth 1 https://github.com/apache/couchdb-rebar.git ${rootdir}/src/rebar
git clone https://github.com/apache/couchdb-rebar.git ${rootdir}/src/rebar
fi
- make -C ${rootdir}/src/rebar
+ cd src/rebar
+ ./bootstrap
mv ${rootdir}/src/rebar/rebar ${rootdir}/bin/rebar
- make -C ${rootdir}/src/rebar clean
+ cd ../..
fi
}