changeset 30519:b2772700ca96

maintainer-makefile: Fix sed regexp.
author Simon Josefsson <simon@josefsson.org>
date Tue, 18 Nov 2008 01:32:33 +0100
parents 0aef6b2e2787
children fae68a868621
files ChangeLog top/maint.mk
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 17 22:11:30 2008 +0100
+++ b/ChangeLog	Tue Nov 18 01:32:33 2008 +0100
@@ -1,3 +1,8 @@
+2008-11-18  Simon Josefsson  <simon@josefsson.org>
+
+	* top/maint.mk (refresh-po): Fix sed regexp to avoid problems with
+	paths like 'lib/po/foo.po'.
+
 2008-11-17  Simon Josefsson  <simon@josefsson.org>
 
 	* m4/warnings.m4: Improve code.  Reported by Ralf Wildenhues
--- a/top/maint.mk	Mon Nov 17 22:11:30 2008 +0100
+++ b/top/maint.mk	Tue Nov 18 01:32:33 2008 +0100
@@ -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