From: Tim Bishop Date: Fri, 25 May 2001 16:40:08 +0000 (+0000) Subject: Best update the checked out copy before doing the cvs2cl. X-Git-Tag: PRE_WWW_REDESIGN~192 X-Git-Url: http://git.i-scream.org/?a=commitdiff_plain;h=5d49ad29be6b0bb4fdfdec65618ad42d7e0e4202;p=www.i-scream.org.git Best update the checked out copy before doing the cvs2cl. --- diff --git a/cgi-bin/cvslog.cgi b/cgi-bin/cvslog.cgi index 10e0760..bb2dc3f 100755 --- a/cgi-bin/cvslog.cgi +++ b/cgi-bin/cvslog.cgi @@ -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";