aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-po.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/update-po.sh b/update-po.sh
index d1f375d2..5f9e9fdb 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -18,6 +18,8 @@ set -x
GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//')
+cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~
+
cd po/
cat LINGUAS | while read lingua; do
if [ ! -e ${lingua}.po ]; then
@@ -34,3 +36,5 @@ cat LINGUAS | while read lingua; do
done
cd - 1>/dev/null
+
+mv po/${GETTEXT_DOMAIN}.pot~ po/${GETTEXT_DOMAIN}.pot