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 <[email protected]>
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
 }
 

Reply via email to