From 4f8fb656c45f38627752a18474fc13f4a5b132a0 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 20 Feb 2013 16:38:46 +1100 Subject: [PATCH] Fix the path handling of nesting build sets. --- source-builder/sb/setbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 23428f9..877cf19 100644 --- a/source-builder/sb/setbuilder.py +++ b/source-builder/sb/setbuilder.py @@ -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