Fix the path handling of nesting build sets.

This commit is contained in:
Chris Johns
2013-02-20 16:38:46 +11:00
parent 879c68a6a3
commit 4f8fb656c4

View File

@@ -73,7 +73,7 @@ class buildset:
'%s.bset' % (path.basename(config))]
for c in self.configs['files']:
if path.basename(c) in names:
if path.dirname(config).endswith(path.dirname(config)):
if path.dirname(c).endswith(path.dirname(config)):
return c
return None