svn commit: r1051381 - /forrest/zone/config/update-forrest-trunk.sh

[email protected]
Newsgroups gmane.text.xml.forrest.cvs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.