From owner-svn-src-user@freebsd.org Wed Mar 22 22:01:54 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7327ED187BB for ; Wed, 22 Mar 2017 22:01:54 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C126852; Wed, 22 Mar 2017 22:01:54 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2MM1rNa040316; Wed, 22 Mar 2017 22:01:53 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2MM1rfN040315; Wed, 22 Mar 2017 22:01:53 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201703222201.v2MM1rfN040315@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Wed, 22 Mar 2017 22:01:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r315748 - user/gjb/thermite X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 22:01:54 -0000 Author: gjb Date: Wed Mar 22 22:01:53 2017 New Revision: 315748 URL: https://svnweb.freebsd.org/changeset/base/315748 Log: Update the send_completed_email() output. Sponsored by: The FreeBSD Foundation Modified: user/gjb/thermite/thermite.sh Modified: user/gjb/thermite/thermite.sh ============================================================================== --- user/gjb/thermite/thermite.sh Wed Mar 22 21:59:04 2017 (r315747) +++ user/gjb/thermite/thermite.sh Wed Mar 22 22:01:53 2017 (r315748) @@ -250,8 +250,8 @@ send_completed_email() { [ -z "${emailsentfrom}" ] && return 0 local _body local _subject - _subject="Snapshot builds completed" - _body="Weeee!" + _subject="$(hostname -s) snapshot builds completed" + _body="$(uname -r)" printf "From: ${emailsentfrom}\nTo: ${emailgoesto}\nSubject: ${_subject}\n\n${_body}\n\n" \ | /usr/sbin/sendmail -oi -f ${emailsentfrom} ${emailgoesto}