Update w64 fetch script to current mingw-w64
[msysgit.git] / src / mingw-w64 / release-easy.sh
bloba280470c16a40bcea6f95d0d76f79ad05ef979ae
1 #!/bin/sh
3 cd "$(dirname "$0")"
4 srcdir=$(pwd)
6 # http://kent.dl.sourceforge.net/sourceforge/
7 mirror=http://ignum.dl.sourceforge.net/project/mingw-w64/
8 subdir=Toolchains%20targetting%20Win64/Automated%20Builds/
9 file=mingw-w64-bin_i686-mingw_20110314.zip
10 dir=${file%.zip}
12 # download it
13 test -f $file || curl $mirror$subdir$file > $file || exit
15 # unpack & install it
16 test -f sysroot/.root.init.marker &&
17 test sysroot/.root.init.marker -nt $file ||
18 (mkdir -p sysroot &&
19 cd sysroot &&
20 unzip ../$file &&
21 touch .root.init.marker