sb: Set the to email address to build@rtems.org.

- Fix a minor bug in the to addr processing.

Update #3210
This commit is contained in:
Chris Johns 2017-10-27 17:34:00 +11:00
parent 0f97375242
commit 70e3e5e115
2 changed files with 3 additions and 2 deletions

View File

@ -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,\

View File

@ -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):