summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-10-27 17:34:00 +1100
committerChris Johns <chrisj@rtems.org>2017-10-27 17:34:00 +1100
commit70e3e5e115ce586c61840fbbfd00e30ad57aad0d (patch)
treee458cc56b6e4d4dc026415619e88dd0f7d60ef02
parentsb: Provide a more detail email message. (diff)
downloadrtems-source-builder-70e3e5e115ce586c61840fbbfd00e30ad57aad0d.tar.bz2
sb: Set the to email address to build@rtems.org.
- Fix a minor bug in the to addr processing. Update #3210
-rw-r--r--source-builder/defaults.mc2
-rw-r--r--source-builder/sb/setbuilder.py3
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@rtems.org'
+_mail_tools_to: none, none, 'build@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):