Commit: dbaaf67448dac9a674c56654cbc1c69f5e9c54bd
Parent: 13a66a32c73d7b51f13424a3dfa81495c174745b
Author: Michael Forney
Date: Sun, 31 May 2026 11:54:06 -0700
fetch-curl: Use -f flag
We want the fetch to fail on HTTP error.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/fetch-curl.sh b/scripts/fetch-curl.sh
@@ -12,7 +12,7 @@ shift
cd "$distdir"
if ! sh "$basedir/scripts/checksum.sh" -c "$basedir/$dir/sha256" 2>/dev/null ; then
- curl -L -K "$basedir/$dir/url" -O
+ curl -fL -K "$basedir/$dir/url" -O
sh "$basedir/scripts/checksum.sh" -c "$basedir/$dir/sha256"
fi