Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] releng r770 - trunk/tools
Date: Tue, 18 Jan 2011 04:46:13
Message-Id: 20110118044518.BD4D720054@flycatcher.gentoo.org
Author: robbat2
Date: 2011-01-18 04:45:15 +0000 (Tue, 18 Jan 2011)
New Revision: 770

Modified:
   trunk/tools/catalyst-auto
Log:
Split multiple recipients to whitespace instead of comma.

Modified: trunk/tools/catalyst-auto
===================================================================
--- trunk/tools/catalyst-auto	2011-01-14 05:53:24 UTC (rev 769)
+++ trunk/tools/catalyst-auto	2011-01-18 04:45:15 UTC (rev 770)
@@ -39,7 +39,7 @@
     body=${message}
   fi
 
-  echo -e "From: ${EMAIL_FROM}\r\nTo: ${EMAIL_TO}\r\nSubject: ${subject}\r\n\r\n${body}" | /usr/sbin/sendmail -f ${EMAIL_FROM} ${EMAIL_TO}
+  echo -e "From: ${EMAIL_FROM}\r\nTo: ${EMAIL_TO}\r\nSubject: ${subject}\r\n\r\n${body}" | /usr/sbin/sendmail -f ${EMAIL_FROM} ${EMAIL_TO//,/ }
 }
 
 run_cmd() {