X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=check-translations.sh;h=46ec3ec6c9121cb7bdf6bdc705a44f95545729c1;hp=6a55b5ef732f3dff77418a4c06ead7660a8b2a6b;hb=c363ffc6ee8bbfa8571b926f06642b5d817370fe;hpb=69eda62d02bc02ff50547bad514af3f7ce487413 diff --git a/check-translations.sh b/check-translations.sh index 6a55b5ef7..46ec3ec6c 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -57,7 +57,7 @@ if [ x"$mode" = x"pot" ]; then echo "$name" done | sort -u } | xgettext -LC -k_ -f- --from-code utf-8 -F -o common.pot.new >&2 - if msgcmp -N --use-untranslated common.pot common.pot.new; then + if msgcmp -N --use-untranslated common.pot common.pot.new && msgcmp -N --use-untranslated common.pot.new common.pot; then echo "No contentful changes to common.pot - OK." rm -f common.pot.new else