diff options
author | Chris Johns <chrisj@rtems.org> | 2016-03-14 17:42:51 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-03-14 17:42:51 +1100 |
commit | d4a2da892165d234f7ddbeb2ddb6e783ca736600 (patch) | |
tree | f5939969bb11b4230ba544a630b9ebe9470669a8 | |
parent | sb: Update download to check the config file for release URL control. (diff) | |
download | rtems-source-builder-d4a2da892165d234f7ddbeb2ddb6e783ca736600.tar.bz2 |
sb: Fix the --without-error-report parsing of the label.
Update #2526.
-rw-r--r-- | source-builder/sb/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source-builder/sb/build.py b/source-builder/sb/build.py index 747ad58..15d569d 100644 --- a/source-builder/sb/build.py +++ b/source-builder/sb/build.py @@ -112,8 +112,8 @@ class build: def _generate_report_(self, header, footer = None): label, result = self.opts.with_arg('error-report') - if (label.startswith('without') and result != 'yes') or \ - (label.startswith('with') and result != 'no'): + if (label.startswith('without_') and result != 'yes') or \ + (label.startswith('with_') and result != 'no'): ereport.generate('rsb-report-%s.txt' % self.macros['name'], self.opts, header, footer) |