aboutsummaryrefslogtreecommitdiff
path: root/update-pot.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 09:13:36 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 09:13:41 +0100
commit48e19a9109de58db9a172a38295132529da61125 (patch)
tree21a5472f5bf902b51b41fdf6d345b0c6e2bec7b7 /update-pot.sh
parentcf88f157c8aa7287b35359393badd0ac74ea9768 (diff)
downloadayatana-indicator-notifications-48e19a9109de58db9a172a38295132529da61125.tar.gz
ayatana-indicator-notifications-48e19a9109de58db9a172a38295132529da61125.tar.bz2
ayatana-indicator-notifications-48e19a9109de58db9a172a38295132529da61125.zip
update-pot.sh: Drop the .h from filenames in .pot file ending with .xml.in.in.h.
Diffstat (limited to 'update-pot.sh')
-rwxr-xr-xupdate-pot.sh9
1 files changed, 5 insertions, 4 deletions
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