[Popcon-commits] cvs commit to popularity-contest by pere
pere at cvs.alioth.debian.org
pere at cvs.alioth.debian.org
Sat Jul 23 23:05:30 UTC 2005
Update of /cvsroot/popcon/popularity-contest
In directory haydn:/tmp/cvs-serv24218
Modified Files:
popcon-process.sh
Log Message:
New variable SUMMARYDIR pointing to the location of the popcon
submissions.
Index: popcon-process.sh
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/popcon-process.sh,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- popcon-process.sh 23 Jul 2005 23:00:12 -0000 1.12
+++ popcon-process.sh 23 Jul 2005 23:05:27 -0000 1.13
@@ -5,6 +5,7 @@
WEBDIR=../www
LOGDIR=$BASEDIR/../logs
BINDIR=$BASEDIR/../bin
+SUMMARYDIR=$BASEDIR/all-popcon-results
set -e
cd $BASEDIR
@@ -24,11 +25,10 @@
| nice -15 $BINDIR/popanal.py >$LOGDIR/popanal.out 2>&1
cp results $WEBDIR/all-popcon-results.txt
gzip -f $WEBDIR/all-popcon-results.txt
-cp $WEBDIR/all-popcon-results.txt.gz all-popcon-results/popcon-`date +"%Y-%m-%d"`.gz
+cp $WEBDIR/all-popcon-results.txt.gz $SUMMARYDIR/popcon-`date +"%Y-%m-%d"`.gz
cd ../popcon-stat
-find ../popcon-mail/all-popcon-results -type f -print | sort | \
- $BINDIR/popcon-stat.pl
+find $SUMMARYDIR -type f -print | sort | $BINDIR/popcon-stat.pl
cd ../popcon-web
$BINDIR/popcon.pl >$LOGDIR/popcon.log
More information about the Popcon-commits
mailing list