From 48e19a9109de58db9a172a38295132529da61125 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 6 Dec 2017 09:13:36 +0100 Subject: update-pot.sh: Drop the .h from filenames in .pot file ending with .xml.in.in.h. --- update-pot.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'update-pot.sh') diff --git a/update-pot.sh b/update-pot.sh index b0cb9b5..dfd4295 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -18,8 +18,9 @@ GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETT cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && cd - 1>/dev/null -sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ - -e 's/\.ini\.in\.h:/.ini.in:/g' \ - -e 's/\.xml\.h:/.xml:/g' \ - -e 's/\.ini\.h:/.ini:/g' \ +sed -e 's/\.xml\.in\.in.\h:/.xml.in.in:/g' \ + -e 's/\.xml\.in\.h:/.xml.in:/g' \ + -e 's/\.ini\.in\.h:/.ini.in:/g' \ + -e 's/\.xml\.h:/.xml:/g' \ + -e 's/\.ini\.h:/.ini:/g' \ -i po/${GETTEXT_DOMAIN}.pot -- cgit v1.2.3