Author: ivanovic
Date: Mon Mar 10 18:15:15 2008
New Revision: 24493
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24493&view=rev
Log:
remove unused command, all this checkout is for is creating stats anyway
add some logging option
Modified:
branches/resources/gettext.wesnoth.org/bin/update-wesnoth-stats
Modified: branches/resources/gettext.wesnoth.org/bin/update-wesnoth-stats
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/resources/gettext.wesnoth.org/bin/update-wesnoth-stats?rev=24493&r1=24492&r2=24493&view=diff
==============================================================================
--- branches/resources/gettext.wesnoth.org/bin/update-wesnoth-stats (original)
+++ branches/resources/gettext.wesnoth.org/bin/update-wesnoth-stats Mon Mar 10
18:15:15 2008
@@ -1,24 +1,23 @@
-#!/bin/sh
-svncheckoutpath=/public/vhost/w/wesnoth/source
+#!/bin/bash
+SVNCHECKOUTPATH=/public/vhost/w/wesnoth/source
#update the 1.4 checkout
-cd $svncheckoutpath/1.4/po
-#find . -name "*.po" -exec rm {} \;
+cd $SVNCHECKOUTPATH/1.4/po
svn cleanup
svn up
#update the trunk checkout
-cd $svnecheckoutpath/trunk/po
-#find . -name "*.po" -exec rm {} \;
+cd $SVNCHECKOUTPATH/trunk/po
svn cleanup
svn up
#update the wescamp checkout
-cd $svnecheckoutpath/wescamp-i18n/
-#find . -name "*.po" -exec rm {} \;
-svn cleanup
-svn up
+#cd $SVNCHECKOUTPATH/wescamp-i18n/
+#svn cleanup
+#svn up
#update the stats
cd ~/html/gettext/
-php grab-stats.php
+echo update started at `date` >> ~/g.w.o-updates.log
+php grab-stats.php >> ~/g.w.o-updates.log
+echo update completed at `date` >> ~/g.w.o-updates.log
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits