Date: Wed, 22 Mar 2017 22:01:53 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r315748 - user/gjb/thermite Message-ID: <201703222201.v2MM1rfN040315@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703222201.v2MM1rfN040315>