#!/bin/bash export CVSROOT=:pserver:anonymous@cvs.debian.org:/cvs/webwml test -f ~/.cvspass || touch ~/.cvspass if [ "$1" = "init" ]; then cvs co -l webwml cvs co -l webwml/Perl cvs co -l webwml/Perl/Local cvs co -l webwml/Perl/Webwml cvs co webwml/english cvs co webwml/portuguese elif [ "$1" = "initall" ]; then cvs co webwml elif [ "$1" = "all" ]; then cvs update -P -d webwml else cvs update -P -d -l webwml cvs update -P -d -l webwml/Perl cvs update -P -d -l webwml/Perl/Local cvs update -P -d -l webwml/Perl/Webwml cvs update -P -d webwml/english cvs update -P -d webwml/portuguese fi cd webwml ./check_trans.pl -c -d > ../update.txt cd ../ cat update.txt | grep -v Missing > needwork.txt