Skip to content

Commit

Permalink
Windows: Let "curl" retry package downloads and show errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Jan 4, 2025
1 parent 2dd3881 commit 12b27b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/gtk-bundle-from-msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12b27b8

Please sign in to comment.