diff --git a/webtools/bonsai/toplevel.cgi b/webtools/bonsai/toplevel.cgi index 8db2b34a24ea..617d7002ff9c 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."