From 12b27b81a3cddbc2821849cf7c4abb059ddbf5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sat, 4 Jan 2025 15:06:49 +0100 Subject: [PATCH] Windows: Let "curl" retry package downloads and show errors --- build/gtk-bundle-from-msys2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/gtk-bundle-from-msys2.sh b/build/gtk-bundle-from-msys2.sh index 7dc8fc1f9..7bddd5364 100644 --- a/build/gtk-bundle-from-msys2.sh +++ b/build/gtk-bundle-from-msys2.sh @@ -172,7 +172,7 @@ extract_packages() { else echo "Download $pkg using curl" filename=$(basename "$pkg") - curl -s -o "$filename" -L "$pkg" + curl --silent --show-error --retry 3 --location --output "$filename" "$pkg" tar xf "$filename" rm "$filename" fi