[Libreoffice-commits] buildbot.git: tb/tb_internals.sh
Norbert Thiebaud
nthiebaud at gmail.com
Mon May 20 00:39:43 PDT 2013
tb/tb_internals.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 8d31df661e163bdf284d6b9806bb6a96d7892d68
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon May 20 02:39:19 2013 -0500
tb: re-activate email sending
diff --git a/tb/tb_internals.sh b/tb/tb_internals.sh
index 3dcf127..de7b44d 100644
--- a/tb/tb_internals.sh
+++ b/tb/tb_internals.sh
@@ -1112,13 +1112,13 @@ send_mail_msg()
[ $V ] && log_msgs "send mail to ${to?} with subject \"${subject?}\""
[ $V ] && quiet=""
-# if [ -n "${log}" ] ; then
-# ${tb_BIN_DIR?}/tb_send_email $quiet -f "${TB_OWNER?}" -s "${TB_SMTP_HOST?}" $smtp_auth -t "${to?}" -bcc "${bcc?}" -u "${subject?}" -o "message-header=${headers?}" -a "${log?}"
-# elif [ -n "${headers?}" ] ; then
-# ${tb_BIN_DIR?}/tb_send_email $quiet -f "${TB_OWNER?}" -s "${TB_SMTP_HOST?}" $smtp_auth -t "${to?}" -bcc "${bcc?}" -u "${subject?}" -o "message-header=${headers?}"
-# else
-# ${tb_BIN_DIR?}/tb_send_email $quiet -f "${TB_OWNER?}" -s "${TB_SMTP_HOST?}" $smtp_auth -t "${to?}" -bcc "${bcc?}" -u "${subject?}"
-# fi
+ if [ -n "${log}" ] ; then
+ ${tb_BIN_DIR?}/tb_send_email $quiet -f "${TB_OWNER?}" -s "${TB_SMTP_HOST?}" $smtp_auth -t "${to?}" -bcc "${bcc?}" -u "${subject?}" -o "message-header=${headers?}" -a "${log?}"
+ elif [ -n "${headers?}" ] ; then
+ ${tb_BIN_DIR?}/tb_send_email $quiet -f "${TB_OWNER?}" -s "${TB_SMTP_HOST?}" $smtp_auth -t "${to?}" -bcc "${bcc?}" -u "${subject?}" -o "message-header=${headers?}"
+ else
+ ${tb_BIN_DIR?}/tb_send_email $quiet -f "${TB_OWNER?}" -s "${TB_SMTP_HOST?}" $smtp_auth -t "${to?}" -bcc "${bcc?}" -u "${subject?}"
+ fi
}
#
More information about the Libreoffice-commits
mailing list