mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[maps] update_google_version: only one try and 10s timeout
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 -t 2 -T 20 -O $(@) http://maps.google.com/ || \
|
||||
$(Q)wget -q -t 1 -T 10 -O $(@) http://maps.google.com/ || \
|
||||
(rm -f $(@) && \
|
||||
echo "Could not download google maps version code" && \
|
||||
echo "-----------------------------------------------" && \
|
||||
|
||||
Reference in New Issue
Block a user