]> git.proxmox.com Git - libgit2.git/blame - azure-pipelines/setup-mingw.sh
Drop patch as it is merged upstream
[libgit2.git] / azure-pipelines / setup-mingw.sh
CommitLineData
0c9c969a
UG
1#!/bin/sh -e
2
3echo "##############################################################################"
4echo "## Downloading mingw"
5echo "##############################################################################"
6
7case "$ARCH" in
8 amd64)
9 MINGW_URI="https://bintray.com/libgit2/build-dependencies/download_file?file_path=mingw-w64-x86_64-8.1.0-release-win32-seh-rt_v6-rev0.zip";;
10 x86)
11 MINGW_URI="https://bintray.com/libgit2/build-dependencies/download_file?file_path=mingw-w64-i686-8.1.0-release-win32-sjlj-rt_v6-rev0.zip";;
12esac
13
14curl -s -L "$MINGW_URI" -o "$TEMP"/mingw-"$ARCH".zip
15unzip -q "$TEMP"/mingw-"$ARCH".zip -d "$TEMP"