|
|
@@ -7,7 +7,7 @@ VERSION="$1"
|
|
|
DOWNLOAD_URL='https://github.com/emqx/rebar3/releases/download'
|
|
|
|
|
|
download() {
|
|
|
- curl -L "${DOWNLOAD_URL}/${VERSION}/rebar3" -o ./rebar3
|
|
|
+ curl -f -L "${DOWNLOAD_URL}/${VERSION}/rebar3" -o ./rebar3
|
|
|
}
|
|
|
|
|
|
# get the version number from the second line of the escript
|