summaryrefslogtreecommitdiffstats
path: root/source-builder
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-06-26 09:27:55 +1000
committerChris Johns <chrisj@rtems.org>2017-06-26 09:28:07 +1000
commite02139d4ab52a694e6349cc5f355dce628b1e449 (patch)
tree21d6ad011ca936592aab557011f080660f7591c1 /source-builder
parentFix GDB 7.12 build on Darwin (diff)
downloadrtems-source-builder-e02139d4ab52a694e6349cc5f355dce628b1e449.tar.bz2
sb: Fix 'bare' builds with --trace.
Diffstat (limited to 'source-builder')
-rw-r--r--source-builder/sb/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index da54ba3..a4f739b 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -422,7 +422,8 @@ class file:
def _pkgconfig_check(self, test):
# Hack to by pass pkgconfig checks when just wanting to download the
# source.
- if self.macros['_dry_run'] == '1' and self.macros['with_download'] == '1':
+ if self.macros['_dry_run'] == '1' and \
+ ('with_download' in self.macros and self.macros['with_download'] == '1'):
return '0'
ok = False
if type(test) == str: