]> i-scream Git - www.i-scream.org.git/blobdiff - cgi-bin/cvslog.cgi
Best update the checked out copy before doing the cvs2cl.
[www.i-scream.org.git] / cgi-bin / cvslog.cgi
index e822a31b944bfceb346f3d5170bc0b447cc9c71f..bb2dc3f7388ee882d955e28221baac44d388046e 100755 (executable)
@@ -3,12 +3,13 @@
 print "Content-type: text/html\n\n";
 
 my($today) = `date \"+%Y/%m/%d\"`;
+my($cvs) = "/home/cut/tdb1/bin/cvs";
 my($cvs2clpath) = "/home/cut/tdb1/bin/cvs2cl";
 my($cvsroot) = "/usr/local/proj/co600_10/cvs";
 my($cvs2clargs) = "--stdout -r -b -t -w -U $cvsroot/CVSROOT/users -l \"-d'\>$today'\" -g \"-d$cvsroot\" -g \"-Q\"";
-my($cmd) = "cd /home/cut/tdb1/cvsscripttemp && $cvs2clpath $cvs2clargs *";
+my($cmd) = "cd /home/cut/tdb1/cvsscripttemp && $cvs -d $cvsroot -Q update -d && $cvs2clpath $cvs2clargs *";
 
-my(@lines) = `$cmd`;
+my(@lines) = `$cmd 2>&1`;
 
 print <<"END";
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
@@ -16,7 +17,7 @@ print <<"END";
 <html>
 
 <head>
- <title>The i-scream Project Logfile Tailer</title>
+ <title>The i-scream Project Daily Commit Log</title>
  <meta name="description" content="The i-scream Project is a central 
 monitoring system for Unix, Linux and NT servers.">
  <meta name="keywords" content="i-scream, project, central monitoring 
@@ -31,7 +32,7 @@ text="#000066">
 
 <h3>Today's i-scream CVS commits</h3>
 
-<a href="cvsweb.cgi">Browse i-scream CVS repository</a>
+<a href="viewcvs.cgi">Browse i-scream CVS repository</a>
 
 <pre>
 END