svn commit: r338225 - user/cperciva/portsnap-build

Xin LI delphij at FreeBSD.org
Thu Aug 23 02:15:46 UTC 2018


Author: delphij
Date: Thu Aug 23 02:15:45 2018
New Revision: 338225
URL: https://svnweb.freebsd.org/changeset/base/338225

Log:
  Support multiple recipients.

Modified:
  user/cperciva/portsnap-build/loop.sh

Modified: user/cperciva/portsnap-build/loop.sh
==============================================================================
--- user/cperciva/portsnap-build/loop.sh	Thu Aug 23 02:14:51 2018	(r338224)
+++ user/cperciva/portsnap-build/loop.sh	Thu Aug 23 02:15:45 2018	(r338225)
@@ -43,5 +43,7 @@ while ! [ -f failed ] && ! [ -f adminlock ]; do
 done
 
 # Send a warning if builds stop running
-echo "Subject: `hostname` Portsnap builds no longer running!" |
-    sendmail ${BUILDMAIL_TO}
+for ADDR in ${BUILDMAIL_TO}; do
+	echo "Subject: `hostname` Portsnap builds no longer running!" |
+	    sendmail ${ADDR}
+done


More information about the svn-src-user mailing list