From 97be5852c75049165c575821bb32e1c30ad175e4 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 21 Oct 2014 18:47:10 +0200 Subject: [PATCH] [maps] use BRE instead of extended regex for sed --- data/maps/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/maps/Makefile b/data/maps/Makefile index f3e3944750..c7bac79afa 100644 --- a/data/maps/Makefile +++ b/data/maps/Makefile @@ -28,7 +28,7 @@ $(DATADIR)/maps.google.com: $(DATADIR) FORCE exit 1) $(PAPARAZZI_HOME)/conf/maps.xml: $(DATADIR)/maps.google.com - $(eval GOOGLE_VERSION := $(shell tr -s '[[:space:]]' '\n' < $(DATADIR)/maps.google.com | grep -E "http[s]?://khm[s]?[0-9]+.google.com/kh/v=[0-9]+.x26" | sed -E 's#.*http[s]?://khm[s]?[0-9]+.google.com/kh/v=##;s#.x26.*##')) + $(eval GOOGLE_VERSION := $(shell tr -s '[[:space:]]' '\n' < $(DATADIR)/maps.google.com | grep -E "http[s]?://khm[s]?[0-9]+.google.com/kh/v=[0-9]+.x26" | sed -e 's/.*http[s]\?:\/\/khm[s]\?[0-9]\+\.google\.com\/kh\/v=\([0-9]\+\)\\x26.*/\1/')) $(eval $@_TMP := $(shell $(MKTEMP))) @echo "Updated google maps version to $(GOOGLE_VERSION)" @echo "-----------------------------------------------"