Update tk to version 8.5.13
[msysgit.git] / src / unzip / release.sh
blobabec951b44f9e093c3d25ee97d50b9f9d733e6e3
1 #!/bin/sh
3 cd "$(dirname "$0")"
5 URL=http://ftp.uni-koeln.de/util/arc/
6 TAR=unzip60.tar.gz
7 DIR=unzip60
9 if test ! -f $TAR
10 then
11 curl $URL/$TAR > $TAR
12 fi &&
13 if test ! -d $DIR
14 then
15 tar xzvf $TAR
16 fi &&
17 (cd $DIR && make -f win32/Makefile.gcc) &&
18 FILES="funzip.exe unzip.exe unzipsfx.exe" &&
19 (cd $DIR && cp $FILES /bin/) &&
20 (cd /bin && git add $FILES && git commit -s -m "Install $DIR" $FILES) || {
21 echo "Failed to install unzip"
22 exit 1