summaryrefslogtreecommitdiff
path: root/tagstats
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2013-05-23 06:42:56 +0400
committerDmitry Marakasov <amdmi3@amdmi3.ru>2013-05-23 06:42:56 +0400
commit9009b58f944debbc82daa13a8c029b357f237125 (patch)
treed4aea1546f9b2733a9b7aac53cb83465aaa7da55 /tagstats
parent1a7a81ba1a1e32ee9499cfc72a05d08a826b5e1e (diff)
downloadtaginfo-9009b58f944debbc82daa13a8c029b357f237125.tar
taginfo-9009b58f944debbc82daa13a8c029b357f237125.tar.gz
Fix sed call to be compatible with non-GNU sed
Diffstat (limited to 'tagstats')
-rw-r--r--tagstats/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tagstats/Makefile b/tagstats/Makefile
index 19e33cd..a9916b7 100644
--- a/tagstats/Makefile
+++ b/tagstats/Makefile
@@ -22,7 +22,7 @@ BYID := $(shell ../bin/taginfo-config.rb tagstats.geodistribution)
#BYID := MmapFile
#BYID := MmapAnon
-BYID_LC := $(shell echo $(BYID) | sed -e 's/\([A-Z]\)/_\0/g' | cut -c2- | tr 'A-Z' 'a-z')
+BYID_LC := $(shell echo $(BYID) | sed -e 's/\([A-Z]\)/_\1/g' | cut -c2- | tr 'A-Z' 'a-z')
BYID_INCL := "<osmium/storage/byid/$(BYID_LC).hpp>"
CXXFLAGS += -DTAGSTATS_GEODISTRIBUTION_FOR_WAYS=$(BYID)