forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1051381 - /forrest/zone/config/update-forrest-trunk.sh
Date Tue, 21 Dec 2010 05:46:36 GMT
Author: crossley
Date: Tue Dec 21 05:46:36 2010
New Revision: 1051381

URL: http://svn.apache.org/viewvc?rev=1051381&view=rev
Log:
The 'mail' command is different to the old zone Solaris.

Modified:
    forrest/zone/config/update-forrest-trunk.sh

Modified: forrest/zone/config/update-forrest-trunk.sh
URL: http://svn.apache.org/viewvc/forrest/zone/config/update-forrest-trunk.sh?rev=1051381&r1=1051380&r2=1051381&view=diff
==============================================================================
--- forrest/zone/config/update-forrest-trunk.sh (original)
+++ forrest/zone/config/update-forrest-trunk.sh Tue Dec 21 05:46:36 2010
@@ -27,15 +27,12 @@ logfn=`date "+update-forrest-trunk-%Y%m%
 logfile=${CONFIG}/$logfn
 sender=dev\@forrest.apache.org
 recipient=$sender
+export REPLYTO=${sender}
 
 function sendMsg {
-cat | mail $recipient <<EOF
-Subject: Forrest.zones - $1
-To: $recipient
-From: $sender
-Reply-to: $sender
-
+  mail -s "forrest.zones.a.o : ${1}" $recipient <<EOF
 At forrest.zones.apache.org
+
 $1
 $2
 See logfile: $logfile



Mime
View raw message