aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:38:45 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-29 12:38:45 +0100
commit2cd60cc3c95102d2eb1538471c9c90701eec7e07 (patch)
tree6f63667d0f3a16f5debb76d1f1e1fc1ad300f710
parentfcb6a09dd6dfd5d7c0746ecadaf2f6b7f58a7518 (diff)
downloadayatana-indicator-session-2cd60cc3c95102d2eb1538471c9c90701eec7e07.tar.gz
ayatana-indicator-session-2cd60cc3c95102d2eb1538471c9c90701eec7e07.tar.bz2
ayatana-indicator-session-2cd60cc3c95102d2eb1538471c9c90701eec7e07.zip
update-po.sh: Fix filenames of .ini(.in) and .xml(.in) files in po files.
-rwxr-xr-xupdate-po.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/update-po.sh b/update-po.sh
index 81a9dc5..7fb959a 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -25,5 +25,12 @@ cat LINGUAS | while read lingua; do
else
intltool-update --gettext-package ${GETTEXT_DOMAIN} $(basename ${lingua})
fi
+
+ 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' \
+ -i ${lingua}.po
+
done
cd - 1>/dev/null