You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/01/24 00:37:04 UTC
svn commit: r371717 - /lenya/zone/bin/mail.sh
Author: thorsten
Date: Mon Jan 23 15:37:01 2006
New Revision: 371717
URL: http://svn.apache.org/viewcvs?rev=371717&view=rev
Log:
Added myself as recipient till testing is over. fixed script that waiting for interrupt signal which caused hanging.
Modified:
lenya/zone/bin/mail.sh
Modified: lenya/zone/bin/mail.sh
URL: http://svn.apache.org/viewcvs/lenya/zone/bin/mail.sh?rev=371717&r1=371716&r2=371717&view=diff
==============================================================================
--- lenya/zone/bin/mail.sh (original)
+++ lenya/zone/bin/mail.sh Mon Jan 23 15:37:01 2006
@@ -1,11 +1,11 @@
#!/usr/bin/bash
sender=dev\@lenya.apache.org
-#recipient=thorsten\@apache.org #TEST
-recipient=$sender
+recipient=thorsten\@apache.org #TEST
+#recipient=$sender
function sendMsg {
-cat | mail $recipient <<EOF
-Subject: Lenya.zones - $1
+mail $recipient <<-EOF
+Subject: [zone] - $1
To: $recipient
From: $sender
Reply-to: $sender
@@ -14,5 +14,6 @@
$1
See logfile: $2
+
EOF
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org