| 44 |
|
$modulelist =~ s/[\r\n]/ /gm; |
| 45 |
|
|
| 46 |
|
my($cvs2clpath) = "/usr/local/bin/cvs2cl"; |
| 47 |
< |
my($cvs2clargs) = "--stdout --no-wrap --no-common-dir -r -t -w -S -U $cvsroot/CVSROOT/users -l \"-d'$firstdate'\" -g \"-d$cvsroot\" -g \"-Q\""; |
| 47 |
> |
my($cvs2clargs) = "--stdout --no-wrap --no-common-dir -r -t -w -S -U $cvsroot/CVSROOT/users -l \"-d$firstdate\" -g \"-d$cvsroot\" -g \"-Q\""; |
| 48 |
|
my($updatecmd) = "/home/iscream/bin/fullcvsupdate.sh $modulelist"; |
| 49 |
|
my($logcmd) = "cd /tmp/i-scream/cvstmp && $cvs2clpath $cvs2clargs"; |
| 50 |
|
|
| 51 |
< |
my ($incdir) = "../nwww"; |
| 51 |
> |
my ($incdir) = "../htdocs"; |
| 52 |
|
|
| 53 |
|
# Include files |
| 54 |
|
my ($doctype) = "$incdir/doctype.inc"; |
| 55 |
|
my ($style) = "$incdir/style.inc"; |
| 56 |
|
my ($header) = "$incdir/header.inc"; |
| 57 |
|
my ($footer) = "$incdir/footer.inc"; |
| 58 |
< |
my ($menu) = "$incdir/menu.inc" ; |
| 58 |
> |
my ($menu) = "$incdir/menu-static.inc" ; |
| 59 |
|
|
| 60 |
|
# Section markers |
| 61 |
|
my ($secwho) = 1; |
| 291 |
|
# Print the contents of a file containing html |
| 292 |
|
sub print_html { |
| 293 |
|
my ($filename) = @_; |
| 294 |
– |
my($virtual) = '<!--#include virtual="/cgi-bin/logo.cgi" -->'; |
| 295 |
– |
my(@virtualresponse) = `/web/i-scream/nwww.cgi-bin/logo.cgi`; |
| 294 |
|
open(FILE, $filename); |
| 295 |
|
while(<FILE>) { |
| 298 |
– |
if(/$virtual/) { |
| 299 |
– |
s/$virtual/$virtualresponse[@virtualresponse-1]/; |
| 300 |
– |
} |
| 296 |
|
print; |
| 297 |
|
} |
| 298 |
|
close FILE; |