mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 12:57:27 +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
|
$(DATADIR)/maps.google.com: $(DATADIR) FORCE
|
||||||
@echo "-----------------------------------------------"
|
@echo "-----------------------------------------------"
|
||||||
@echo "DOWNLOAD: google maps version code";
|
@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 $(@) && \
|
(rm -f $(@) && \
|
||||||
echo "Could not download google maps version code" && \
|
echo "Could not download google maps version code" && \
|
||||||
echo "-----------------------------------------------" && \
|
echo "-----------------------------------------------" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user