maintainer-makefile: Fix sed regexp.
authorSimon Josefsson <simon@josefsson.org>
Tue, 18 Nov 2008 00:32:33 +0000 (01:32 +0100)
committerSimon Josefsson <simon@josefsson.org>
Tue, 18 Nov 2008 00:32:33 +0000 (01:32 +0100)
ChangeLog
top/maint.mk

index 8ae6063..d9673ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 62f3a41..3756ee8 100644 (file)
@@ -139,7 +139,7 @@ refresh-po:
        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