ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/cvsstat.sh
Revision: 1.2
Committed: Mon Jun 18 15:07:47 2001 UTC (22 years, 11 months ago) by tdb
Content type: application/x-sh
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
The source module is gone, so now we do the whole cms module (source and docs).

File Contents

# Content
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/cms"
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\"'