svn commit: r315748 - user/gjb/thermite
Glen Barber
gjb at FreeBSD.org
Wed Mar 22 22:01:54 UTC 2017
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}
More information about the svn-src-user
mailing list