fix echo for systems where -e is not default, e.g. debian

This commit is contained in:
Felix Ruess
2011-08-17 17:36:40 +02:00
parent bf5a867b29
commit b9648610ba
+3 -3
View File
@@ -10,8 +10,8 @@ $(DATADIR)/maps.google.com: $(DATADIR) FORCE
wget -O $(@) http://maps.google.com/
$(PAPARAZZI_HOME)/conf/maps.xml: $(DATADIR)/maps.google.com
$(Q)echo "<!DOCTYPE maps SYSTEM \"maps.dtd\">\n" > $(@)
$(Q)echo "<maps google_version=\""`grep -P "http://khm[0-9]+.google.com/kh/v=[0-9]+.x26" $(DATADIR)/maps.google.com | sed -E s#.*http://khm[0-9]+.google.com/kh/v=## | sed -E s#.x26.*##`"\"/>" >> $(@)
$(Q)echo "" >> $(@)
$(Q)echo -e "<!DOCTYPE maps SYSTEM \"maps.dtd\">\n" > $(@)
$(Q)echo -e "<maps google_version=\""`grep -P "http://khm[0-9]+.google.com/kh/v=[0-9]+.x26" $(DATADIR)/maps.google.com | sed -E s#.*http://khm[0-9]+.google.com/kh/v=## | sed -E s#.x26.*##`"\"/>" >> $(@)
$(Q)echo -e "" >> $(@)
FORCE: