diff options
author | Chris Johns <chrisj@rtems.org> | 2017-10-27 17:34:00 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-10-27 17:34:00 +1100 |
commit | 70e3e5e115ce586c61840fbbfd00e30ad57aad0d (patch) | |
tree | e458cc56b6e4d4dc026415619e88dd0f7d60ef02 /source-builder | |
parent | sb: Provide a more detail email message. (diff) | |
download | rtems-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
Diffstat (limited to 'source-builder')
-rw-r--r-- | source-builder/defaults.mc | 2 | ||||
-rw-r--r-- | 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@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): |