wesnoth/resources/gettext.wesnoth.org/bin/update-wesnoth-stats
2008-04-13 19:57:40 +00:00

25 lines
515 B
Bash
Executable File

#!/bin/bash
SVNCHECKOUTPATH=/public/vhost/w/wesnoth/source
echo update started at `date` >> $HOME/g.w.o-updates.log
#update the 1.4 checkout
cd $SVNCHECKOUTPATH/1.4/po
#svn cleanup
svn up
#update the trunk checkout
cd $SVNCHECKOUTPATH/trunk/po
#svn cleanup
svn up
#update the wescamp checkout
cd $SVNCHECKOUTPATH/wescamp-i18n/
#svn cleanup
svn up trunk/ branches/
#update the stats
cd $HOME/html/gettext/
php grab-stats.php >> $HOME/g.w.o-updates.log
echo update completed at `date` >> $HOME/g.w.o-updates.log