bessbd commented on a change in pull request #3568:
URL: https://github.com/apache/couchdb/pull/3568#discussion_r643936656



##########
File path: configure
##########
@@ -291,7 +291,13 @@ install_local_rebar() {
 
 install_local_rebar3() {
     if [ ! -x "${rootdir}/bin/rebar3" ]; then
-      wget -O ${rootdir}/bin/rebar3 https://s3.amazonaws.com/rebar3/rebar3 && 
chmod +x ${rootdir}/bin/rebar3
+        if [ ! -d "${rootdir}/src/rebar3" ]; then
+            git clone --depth 1 https://github.com/erlang/rebar3.git 
${rootdir}/src/rebar3
+        fi
+        cd src/rebar3
+        ./bootstrap
+        mv ${rootdir}/src/rebar3/rebar3 ${rootdir}/bin/rebar3
+        cd ..

Review comment:
       Done in 3de980b




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to