From e9f2efd2134052c1c10a5beca95fbc3bc08a66bb Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" Date: Tue, 2 Mar 1999 01:55:49 +0000 Subject: [PATCH] Got rid of the "bonsai-hook@warp" nonsense. Added an optional "cchookmail" entry in the config file, to allow us to set people who always get CC'd on mail to the hook. --- webtools/bonsai/toplevel.cgi | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/webtools/bonsai/toplevel.cgi b/webtools/bonsai/toplevel.cgi index 8db2b34a24e..617d7002ff9 100755 --- a/webtools/bonsai/toplevel.cgi +++ b/webtools/bonsai/toplevel.cgi @@ -226,18 +226,14 @@ $uname puts "" puts "[llength $checkinlist] checkins." - if {[cequal $treeid default]} { - set mailaddr "bonsai-hook@warp" - } else { - set mailaddr [join $peoplelist ","] + set mailaddr [join $peoplelist ","] + append mailaddr "?subject=Build%20Problem" + if {[info exists treeinfo($treeid,cchookmail)]} { + append mailaddr "&cc=$treeinfo($treeid,cchookmail)" } puts "

" puts "Show all checkins.
" - if {[cequal $treeid default]} { - puts "" - } else { - puts "" - } + puts "" puts "Send mail to \"the hook\".
" } else { puts "Nobody seems to have made any changes since the tree opened."