* 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> 2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
* po/README: Move language fetcing to ... * po/README: Move language fetcing to ...

View file

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