Bug 1057708 - The wrong topsrcdir is used when verifying existence of LOCAL_INCLUDES, r=mshal

This commit is contained in:
Joshua Cranmer 2014-08-25 09:40:58 -05:00
parent c6d417fdda
commit c2b36dce60

View File

@ -570,7 +570,7 @@ class TreeMetadataEmitter(LoggingMixin):
for local_include in context.get('LOCAL_INCLUDES', []):
if local_include.startswith('/'):
path = self.config.topsrcdir
path = context.config.topsrcdir
relative_include = local_include[1:]
else:
path = context.srcdir