commit 46c75c5
Michael Forney
·
2026-05-31 18:54:06 +0000 UTC
parent 8e0be0f
fetch-curl: Use -f flag We want the fetch to fail on HTTP error.
1 files changed,
+1,
-1
+1,
-1
1@@ -12,7 +12,7 @@ shift
2 cd "$distdir"
3
4 if ! sh "$basedir/scripts/checksum.sh" -c "$basedir/$dir/sha256" 2>/dev/null ; then
5- curl -L -K "$basedir/$dir/url" -O
6+ curl -fL -K "$basedir/$dir/url" -O
7 sh "$basedir/scripts/checksum.sh" -c "$basedir/$dir/sha256"
8 fi
9