mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
20s timeout and max 2 retries when trying to update_google_version
This commit is contained in:
+1
-1
@@ -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 "-----------------------------------------------" && \
|
||||
|
||||
Reference in New Issue
Block a user