3 |
|
print "Content-type: text/html\n\n"; |
4 |
|
|
5 |
|
my($today) = `date \"+%Y/%m/%d\"`; |
6 |
+ |
my($cvs) = "/home/cut/tdb1/bin/cvs"; |
7 |
|
my($cvs2clpath) = "/home/cut/tdb1/bin/cvs2cl"; |
8 |
|
my($cvsroot) = "/usr/local/proj/co600_10/cvs"; |
9 |
|
my($cvs2clargs) = "--stdout -r -b -t -w -U $cvsroot/CVSROOT/users -l \"-d'\>$today'\" -g \"-d$cvsroot\" -g \"-Q\""; |
10 |
< |
my($cmd) = "cd /home/cut/tdb1/cvsscripttemp && $cvs2clpath $cvs2clargs *"; |
10 |
> |
my($cmd) = "cd /home/cut/tdb1/cvsscripttemp && $cvs -d $cvsroot -Q update -d && $cvs2clpath $cvs2clargs *"; |
11 |
|
|
12 |
< |
my(@lines) = `$cmd`; |
12 |
> |
my(@lines) = `$cmd 2>&1`; |
13 |
|
|
14 |
|
print <<"END"; |
15 |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
32 |
|
|
33 |
|
<h3>Today's i-scream CVS commits</h3> |
34 |
|
|
35 |
< |
<a href="cvsweb.cgi">Browse i-scream CVS repository</a> |
35 |
> |
<a href="viewcvs.cgi">Browse i-scream CVS repository</a> |
36 |
|
|
37 |
|
<pre> |
38 |
|
END |