20s timeout and max 2 retries when trying to update_google_version

This commit is contained in:
Felix Ruess
2013-07-30 18:19:32 +02:00
parent 4dd870b8eb
commit 9ab3c2bd0d
+1 -1
View File
@@ -21,7 +21,7 @@ $(DATADIR):
$(DATADIR)/maps.google.com: $(DATADIR) FORCE
@echo "-----------------------------------------------"
@echo "DOWNLOAD: google maps version code";
$(Q)wget -q -O $(@) http://maps.google.com/ || \
$(Q)wget -q -t 2 -T 20 -O $(@) http://maps.google.com/ || \
(rm -f $(@) && \
echo "Could not download google maps version code" && \
echo "-----------------------------------------------" && \