]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix the data source for the QC file lists.
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 15 Jan 2016 21:49:49 +0000 (22:49 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 15 Jan 2016 21:49:49 +0000 (22:49 +0100)
check-translations.sh

index 6b59b853aa9a743bac21b6874ac6a2056e5a8d1c..0e1013cb6e085782bcd3444900347b2bc4db5866 100755 (executable)
@@ -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