Skip to content

Commit 5234f84

Browse files
authored
Stop on download error
At the moment, the `build-new-version.sh` happily continues even if a download failed (e.g. due to a 404). This fixes that.
1 parent 6f03f63 commit 5234f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-new-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUSTC_TRIPLES=(
4444

4545
download() {
4646
echo "download $@"
47-
curl -# -O $@
47+
curl --fail -# -O $@
4848
}
4949

5050
dlfile() {

0 commit comments

Comments
 (0)