From 469a682aa06661288e71041d75a91dfa4c0f171f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 11 Apr 2005 18:40:43 +0000 Subject: Add build host to web pages --- bin/latency-graphs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/latency-graphs b/bin/latency-graphs index 156281e..760fae7 100755 --- a/bin/latency-graphs +++ b/bin/latency-graphs @@ -6,6 +6,7 @@ use English; my $ECHOLOT_BASE = shift @ARGV; die ("Usage: $PROGRAM_NAME \n") if (!defined $ECHOLOT_BASE || scalar @ARGV > 0); +my $HOSTNAME = `hostname`; my $INDEX = $ECHOLOT_BASE.'/results/thesaurus/index.txt'; my $STATSDIR = $ECHOLOT_BASE.'/data'; my $AUTORANGE = 'ploticus/plot-autorange.pls'; @@ -177,7 +178,7 @@ for my $remailer (sort { $remailers{$a}->{'nick'} cmp $remailers{$b}->{'nick'}} print F "{'x'}\" height=\"$autorange_size->{'y'}\">" . "{'x'}\" height=\"$dots_autorange_size->{'y'}\">\n"; print F "\n"; - print F "
\nBuilt at $GMTIME
\n"; + print F "
\nBuilt at $GMTIME on $HOSTNAME
\n"; print F "Peter Palfrader <web\@palfrader.org>\n"; print F "\n"; } @@ -190,7 +191,7 @@ print F "..
\n"; print F "$body\n"; print F "


\n"; print F 'Images created with Steve Grubb\'s ploticus'."\n"; -print F "
\nBuilt at $GMTIME
\n"; +print F "
\nBuilt at $GMTIME on $HOSTNAME
\n"; print F "Peter Palfrader <web\@palfrader.org>\n"; print F "\n"; close (F); -- cgit v1.2.3