]>
Commit | Line | Data |
---|---|---|
0c9c969a UG |
1 | #!/bin/sh -e |
2 | ||
3 | echo "##############################################################################" | |
4 | echo "## Downloading mingw" | |
5 | echo "##############################################################################" | |
6 | ||
7 | case "$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";; | |
12 | esac | |
13 | ||
14 | curl -s -L "$MINGW_URI" -o "$TEMP"/mingw-"$ARCH".zip | |
15 | unzip -q "$TEMP"/mingw-"$ARCH".zip -d "$TEMP" |