From 1003b165e5da78725ebc0126c1dbaec6fc975e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Wed, 22 Apr 2026 13:52:33 +0200 Subject: [PATCH] ci: Allow binaries to be downloaded via redirect By specifying `--location`, `curl` will follow redirects. --- scripts/install-binaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-binaries b/scripts/install-binaries index f38f94d1d..4ad3d14e6 100755 --- a/scripts/install-binaries +++ b/scripts/install-binaries @@ -38,7 +38,7 @@ install() { esac echo Downloading "$1" v"$2" from "$FETCH_URL into /tests/tmp/bin/$1/$2" - curl --fail -s "$FETCH_URL" | tar -xJ --strip-components=2 -C "$BINARY_PATH/$1/$2" "$FILENAME/bin/" || (echo "Download failed" && exit 1) + curl --fail --silent --location "$FETCH_URL" | tar -xJ --strip-components=2 -C "$BINARY_PATH/$1/$2" "$FILENAME/bin/" || (echo "Download failed" && exit 1) fi }