[rtems-source-builder commit] sb: Set the to email address to build at rtems.org.
Chris Johns
chrisj at rtems.org
Fri Oct 27 06:34:50 UTC 2017
Module: rtems-source-builder
Branch: master
Commit: 70e3e5e115ce586c61840fbbfd00e30ad57aad0d
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=70e3e5e115ce586c61840fbbfd00e30ad57aad0d
Author: Chris Johns <chrisj at rtems.org>
Date: Fri Oct 27 17:34:00 2017 +1100
sb: Set the to email address to build at rtems.org.
- Fix a minor bug in the to addr processing.
Update #3210
---
source-builder/defaults.mc | 2 +-
source-builder/sb/setbuilder.py | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/source-builder/defaults.mc b/source-builder/defaults.mc
index f6d2ed6..85fd9aa 100644
--- a/source-builder/defaults.mc
+++ b/source-builder/defaults.mc
@@ -366,7 +366,7 @@ __xz: exe, required, '/usr/bin/xz'
# Mail Support
_mail_smtp_host: none, none, 'localhost'
-_mail_tools_to: none, none, 'rtems-tooltestresults at rtems.org'
+_mail_tools_to: none, none, 'build at rtems.org'
# Newlib ICONV encodings
_newlib_iconv_encodings: none, none, '''big5,cp775,cp850,cp852,cp855,\
diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py
index 365fecf..9851785 100644
--- a/source-builder/sb/setbuilder.py
+++ b/source-builder/sb/setbuilder.py
@@ -527,8 +527,9 @@ def run():
if to_addr is not None:
mail['to'] = to_addr[1]
else:
- mail['to'] = pts.defaults.expand('%{_mail_tools_to}')
+ mail['to'] = opts.defaults.expand('%{_mail_tools_to}')
mail['from'] = mail['mail'].from_address()
+ print(mail)
log.notice('RTEMS Source Builder - Set Builder, %s' % (version.str()))
opts.log_info()
if not check.host_setup(opts):
More information about the vc
mailing list