From: Rudolf Polzer Date: Fri, 15 Jan 2016 21:49:49 +0000 (+0100) Subject: Fix the data source for the QC file lists. X-Git-Tag: xonotic-v0.8.2~1231 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ecaba60978a11c5f301aae045a52f6322151b166;p=xonotic%2Fxonotic-data.pk3dir.git Fix the data source for the QC file lists. --- 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