summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-04 15:38:35 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-04 16:12:46 +0100
commit16d299c6ce7df1e96a17488a386f286bea487500 (patch)
tree4a88db18958237186399e8d891c3a7f08a419225
parent8105d4381fc499fc1d47d1b1791e84560dc29063 (diff)
downloadopenembedded-core-16d299c6ce7df1e96a17488a386f286bea487500.tar.gz
openembedded-core-16d299c6ce7df1e96a17488a386f286bea487500.tar.bz2
openembedded-core-16d299c6ce7df1e96a17488a386f286bea487500.tar.xz
openembedded-core-16d299c6ce7df1e96a17488a386f286bea487500.zip
cooker.py: Fix case of -b option with a full filepath
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 0992ec4c2..ad1d6023f 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -588,11 +588,11 @@ class BBCooker:
"""
bf = os.path.abspath(buildfile)
+ (filelist, masked) = self.collect_bbfiles()
try:
os.stat(bf)
return [bf]
except OSError:
- (filelist, masked) = self.collect_bbfiles()
regexp = re.compile(buildfile)
matches = []
for f in filelist: