Skip to content

Commit

Permalink
make-binaries: Let curl fail on HTTP errors
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed Sep 29, 2023
1 parent f1dc4a4 commit cc2d806
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/make-binaries
Original file line number Diff line number Diff line change
Expand Up @@ -607,18 +607,18 @@ else

info 'Downloading dependencies ...'
cd "$src_dir"
curl -sSLO "http://crosstool-ng.org/download/crosstool-ng/$crosstool_tar"
curl -sSLO "https://zlib.net/fossils/$zlib_tar"
curl -sSLO "https://pyyaml.org/download/libyaml/$yaml_tar"
curl -sSLO "https://www.openssl.org/source/$ssl_tar"
curl -sSLO "https://github.com/erlang/otp/releases/download/OTP-$otp_vsn/$otp_tar"
curl -fsSLO "http://crosstool-ng.org/download/crosstool-ng/$crosstool_tar"
curl -fsSLO "https://zlib.net/fossils/$zlib_tar"
curl -fsSLO "https://pyyaml.org/download/libyaml/$yaml_tar"
curl -fsSLO "https://www.openssl.org/source/$ssl_tar"
curl -fsSLO "https://github.com/erlang/otp/releases/download/OTP-$otp_vsn/$otp_tar"
cd "$OLDPWD"
fi

info "Downloading Rebar3 $rebar_vsn ..."
install -d "$bootstrap_dir/bin"
cd "$bootstrap_dir/bin"
curl -sSLO "https://github.com/erlang/rebar3/releases/download/$rebar_vsn/rebar3"
curl -fsSLO "https://github.com/erlang/rebar3/releases/download/$rebar_vsn/rebar3"
chmod +x 'rebar3'
cd "$OLDPWD"

Expand Down

0 comments on commit cc2d806

Please sign in to comment.