[kaffe] CVS kaffe-extras (dalibor): Use ZIP files for ant download. Use archive on apache.org if download fails

Kaffe CVS cvs-commits at kaffe.org
Fri Jan 30 00:13:02 PST 2004


PatchSet 27 
Date: 2004/01/30 08:12:46
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Use ZIP files for ant download. Use archive on apache.org if download fails

Members: 
	bootstrap-kaffe+ant.sh:1.4->1.5 

Index: kaffe-extras/bootstrap-kaffe+ant.sh
diff -u kaffe-extras/bootstrap-kaffe+ant.sh:1.4 kaffe-extras/bootstrap-kaffe+ant.sh:1.5
--- kaffe-extras/bootstrap-kaffe+ant.sh:1.4	Tue Jan  6 18:21:50 2004
+++ kaffe-extras/bootstrap-kaffe+ant.sh	Fri Jan 30 08:12:46 2004
@@ -22,7 +22,8 @@
 fi
 
 if [ ! -f $ANT-src.tar.gz ]; then
-	wget -N http://www.apache.org/dist/ant/source/$ANT-src.tar.gz
+	wget -N http://www.apache.org/dist/ant/source/$ANT-src.zip \
+	|| wget -N http://archive.apache.org/dist/ant/source/$ANT-src.zip
 fi
 
 
@@ -47,7 +48,7 @@
 make install
 )
 
-tar zxvf ../tarballs/$ANT-src.tar.gz
+unzip ../tarballs/$ANT-src.zip
 (
 set -e
 




More information about the kaffe mailing list