Mark msysGit as obsolete
[msysgit.git] / src / unzip / release.sh
blob4d738cc8abf3e8c97fa2c928f0d8310e1c4fbc32
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 -n -s -m "Install $DIR" $FILES) || {
21 echo "Failed to install unzip"
22 exit 1