You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2010/12/21 06:46:36 UTC

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

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