--- generate-overview.pl 2002/09/09 15:17:54 1.6 +++ generate-overview.pl 2003/05/18 11:54:28 1.8 @@ -34,7 +34,9 @@ # You need to update this to point to the URL # you use to access Cricket. # $gBaseURL = "http://localhost/~cricket/grapher.cgi"; - $gBaseURL = "http://romul.pliva.hr/cgi-bin/cricket/grapher.cgi"; + my $hostname = `hostname -f`; + chomp($hostname); + $gBaseURL = "http://$hostname/cgi-bin/cricket/grapher.cgi"; # change this to destination directory $path = "/data/mon/"; @@ -105,7 +107,10 @@ } Info("Dumping HTML for $key to $filename."); open(OUT,"> $filename") || die "can't open output html '$filename': $!"; - print OUT "$key"; + print OUT ''.$key.' + + + '; print OUT $html_file{$key}; print OUT ""; close(OUT);