]> i-scream Git - www.i-scream.org.git/commitdiff
Best update the checked out copy before doing the cvs2cl.
authorTim Bishop <tim@bishnet.net>
Fri, 25 May 2001 16:40:08 +0000 (16:40 +0000)
committerTim Bishop <tim@bishnet.net>
Fri, 25 May 2001 16:40:08 +0000 (16:40 +0000)
cgi-bin/cvslog.cgi

index 10e0760a7811b508209e388b7319d1b6e3ea64c6..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">