[rtems-source-builder commit] sb: Fix 'bare' builds with --trace.
Chris Johns
chrisj at rtems.org
Sun Jun 25 23:28:20 UTC 2017
Module: rtems-source-builder
Branch: master
Commit: e02139d4ab52a694e6349cc5f355dce628b1e449
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=e02139d4ab52a694e6349cc5f355dce628b1e449
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Jun 26 09:27:55 2017 +1000
sb: Fix 'bare' builds with --trace.
---
source-builder/sb/config.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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:
More information about the vc
mailing list