* linguas.sh: Remove autogenerated *.po.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-04-07 19:44:50 +02:00
parent 7ec2b02171
commit 561ec77e2d
2 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2012-04-07 Vladimir Serbinenko <phcoder@gmail.com>
* linguas.sh: Remove autogenerated *.po.
2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
* po/README: Move language fetcing to ...

View File

@ -2,16 +2,19 @@
rsync -Lrtvz --exclude=ko.po translationproject.org::tp/latest/grub/ po
autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"
for x in $autogenerated; do
rm "po/$x.po";
done
(
(
cd po && ls *.po| cut -d. -f1
echo "en@quot"
echo "en@hebrew"
echo "de@hebrew"
echo "en@cyrillic"
echo "en@greek"
echo "en@arabic"
echo "en@piglatin"
echo "de_CH"
for x in $autogenerated; do
echo "$x";
done
) | sort | uniq | xargs
) >po/LINGUAS