[maps] ahrg, really fix google maps version download now

This commit is contained in:
Felix Ruess
2012-09-12 15:52:19 +02:00
parent cdff90306c
commit 45ec0f1c16
+2 -2
View File
@@ -11,8 +11,8 @@ $(DATADIR):
$(DATADIR)/maps.google.com: $(DATADIR) FORCE
@echo "DOWNLOAD: google maps version code";
$(Q)wget -q -O $(@) http://maps.google.com/ | \
rm -f $(@) && echo "Could not download google maps version code" && exit 1
$(Q)wget -q -O $(@) http://maps.google.com/ || \
(rm -f $(@) && echo "Could not download google maps version code" && exit 1)
$(PAPARAZZI_HOME)/conf/maps.xml: $(DATADIR)/maps.google.com
$(Q)echo "<!DOCTYPE maps SYSTEM \"maps.dtd\">" > $(@)