You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/06/02 12:05:29 UTC

[GitHub] [couchdb] iilyak commented on a change in pull request #3568: Reformat src files with erlfmt

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



##########
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:
       I think this should be `cd ../..`




-- 
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:
users@infra.apache.org