[cvs] SF.net SVN: bogofilter:[6963] trunk/web/updateweb
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2012-01-03 01:50:01
|
Revision: 6963 http://bogofilter.svn.sourceforge.net/bogofilter/?rev=6963&view=rev Author: relson Date: 2012-01-03 01:49:55 +0000 (Tue, 03 Jan 2012) Log Message: ----------- Remove unnecessary DIR stuff. Modified Paths: -------------- trunk/web/updateweb Modified: trunk/web/updateweb =================================================================== --- trunk/web/updateweb 2012-01-03 01:26:40 UTC (rev 6962) +++ trunk/web/updateweb 2012-01-03 01:49:55 UTC (rev 6963) @@ -29,27 +29,19 @@ echo "==> CHECKING OUT WEB, FAQ, AND NEWS" URL="http://bogofilter.svn.sourceforge.net/svnroot/bogofilter/trunk/" SVN="svn --non-interactive" -DIR="$HOME/tmp/bogofilter_web" -[ ! -d $DIR ] && mkdir $DIR # update directory -cd ../svn/doc -$SVN up -q +$SVN update -q -FILES="bogofilter-faq.html bogofilter-faq-??.html" +FILES=$( cd ../svn/doc ; ls bogofilter-faq.html bogofilter-faq-??.html ) +echo $FILES for FILE in $FILES ; do - $SVN cat $URL/bogofilter/doc/$FILE > $DIR/$FILE & + $SVN cat $URL/bogofilter/doc/$FILE > $FILE & done -$SVN cat $URL/bogofilter/NEWS > $DIR/NEWS & +wait -# update directory -cd ../../web -$SVN up -q +$SVN cat $URL/bogofilter/NEWS > NEWS & -FILES="*.shtml" -for FILE in $FILES ; do - $SVN cat $URL/bogofilter/web/$FILE > $DIR/$FILE & -done wait # check if no uncommitted files are there @@ -62,7 +54,6 @@ echo "==> UPLOADING TO web.sourceforge.net:htdocs/" # copy without cruft and internal files -cd $DIR rsync -acvH \ --chmod=ug=rwX,o=rX \ --delete \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |