# HG changeset patch # User Simon Josefsson # Date 1226968353 -3600 # Node ID 45b8dcc4006474d0e4fc23701f36d5699442a400 # Parent d5f3893491cf966b33444b6aae4ae1cbd773cdc8 maintainer-makefile: Fix sed regexp. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-18 Simon Josefsson + + * top/maint.mk (refresh-po): Fix sed regexp to avoid problems with + paths like 'lib/po/foo.po'. + 2008-11-17 Simon Josefsson * m4/warnings.m4: Improve code. Reported by Ralf Wildenhues diff --git a/top/maint.mk b/top/maint.mk --- a/top/maint.mk +++ b/top/maint.mk @@ -139,7 +139,7 @@ wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ echo 'en@boldquot' > $(PODIR)/LINGUAS && \ echo 'en@quot' >> $(PODIR)/LINGUAS && \ - ls $(PODIR)/*.po | sed 's/.po//' | sed 's,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS + ls $(PODIR)/*.po | sed 's/\.po//' | sed 's,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS INDENT_SOURCES ?= $(C_SOURCES) .PHONY: indent