Skip to content

Commit ae50456

Browse files
committed
follow redirects
1 parent a9d4088 commit ae50456

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/scripts/install-mingw.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ if isWindows; then
4545
tar zstd
4646
ciCommandAddPath "$(ciCheckoutPath)/msys2/mingw${bits}/bin"
4747
else
48-
curl -o mingw.tar.zst "https://github.com/mati865/mingw-build/releases/download/v0/${mingw_archive}"
48+
url="https://github.com/mati865/mingw-build/releases/download/v0"
49+
curl -L -o mingw.tar.zst "${url}/${mingw_archive}"
4950
tar -xf mingw.tar.zst > /dev/null
5051
ciCommandAddPath "$(pwd)/${arch}-w64-mingw32/bin"
5152
ciCommandAddPath "$(pwd)/${arch}-w64-mingw32/${arch}-w64-mingw32/bin"

0 commit comments

Comments
 (0)