[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] nicer file handling if makefile is executed multiple times without clean



commit 27dbd3cf488e36b794124c32dec9b74c6ba0ece2
Author: fh <fh-github@xxxxxxxxxxxxx>
Date:   Sun Jul 28 10:54:22 2013 +0200

    nicer file handling if makefile is executed multiple times without clean
---
 data/Makefile |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/data/Makefile b/data/Makefile
index b64c939..969cc65 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -1,10 +1,10 @@
 geoip:
-	wget http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
-	gunzip GeoIPASNum.dat.gz
-	wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
-	gunzip GeoIP.dat.gz
-	wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
-	gunzip GeoLiteCity.dat.gz
+	wget -N http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
+	gunzip -f GeoIPASNum.dat.gz
+	wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
+	gunzip -f GeoIP.dat.gz
+	wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+	gunzip -f GeoLiteCity.dat.gz
 clean:
 	rm -f *.dat
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits