curl: update to release 7.21.1
[msysgit/mtrensch.git] / src / mingw-w64 / release-easy.sh
blobba0b37527d91a8ccb0379e6b7575c3ba7028c70e
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-1.0-bin_i686-mingw_20100129.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