X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=check-translations.sh;h=0e1013cb6e085782bcd3444900347b2bc4db5866;hp=6b59b853aa9a743bac21b6874ac6a2056e5a8d1c;hb=d35f2000b6675bec432c1f144532367debe21648;hpb=f287e05f7e7715842779b17e2f44151172a53dd2 diff --git a/check-translations.sh b/check-translations.sh index 6b59b853a..0e1013cb6 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -32,7 +32,7 @@ if [ x"$mode" = x"pot" ]; then make QCC="../../../../gmqcc/gmqcc" clean make QCC="../../../../gmqcc/gmqcc" { - grep -h '^\.' qcsrc/tmp/*_includes.txt | cut -d ' ' -f 2 | sed -e 's,^,qcsrc/,' | while IFS= read -r name; do + grep -h '^\.' .tmp/*_includes.txt | cut -d ' ' -f 2 | sed -e 's,^,qcsrc/,' | while IFS= read -r name; do while :; do case "$name" in */./*) @@ -55,7 +55,7 @@ if [ x"$mode" = x"pot" ]; then esac done echo "$name" - done | sort -u | tee lst + done | sort -u } | xgettext -LC -k_ -f- --from-code utf-8 -F -o common.pot >&2 fi