| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# directory of cvsstat script and cvs |
| 4 |
BINDIR="/home/sites/www.i-scream.org.uk/bin" |
| 5 |
CVS="/usr/bin/cvs" |
| 6 |
FULLCVSUPDATE="/home/sites/www.i-scream.org.uk/bin/fullcvsupdate.sh" |
| 7 |
|
| 8 |
# cvs source directory (these files will be stated) |
| 9 |
SRCDIR="/home/sites/www.i-scream.org.uk/cvsscripttemp/source" |
| 10 |
|
| 11 |
# output directory for png files (and raw txt files) |
| 12 |
DESTDIR="/home/sites/www.i-scream.org.uk/web/cvsstat" |
| 13 |
|
| 14 |
# title of graphs |
| 15 |
TITLE="i-scream source CVS Statistics" |
| 16 |
|
| 17 |
# update cvs files |
| 18 |
${FULLCVSUPDATE} |
| 19 |
|
| 20 |
# run command |
| 21 |
cd $BINDIR |
| 22 |
$BINDIR/cvsstat.pl -cvsdir $SRCDIR \ |
| 23 |
-linedata $DESTDIR/linedata.txt \ |
| 24 |
-filedata $DESTDIR/filedata.txt \ |
| 25 |
-gnuplotfiledata $DESTDIR/filedata.png \ |
| 26 |
-gnuplotlinedata $DESTDIR/linedata.png \ |
| 27 |
-gnuplotcommand 'set title \"$TITLE\"' |