ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/cvsstat.sh
Revision: 1.1
Committed: Wed Jun 13 16:04:10 2001 UTC (22 years, 11 months ago) by tdb
Content type: application/x-sh
Branch: MAIN
Log Message:
Essentially a wrapper to cvsstat.pl

File Contents

# User Rev Content
1 tdb 1.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\"'