From 16d299c6ce7df1e96a17488a386f286bea487500 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 4 Aug 2010 15:38:35 +0100 Subject: cooker.py: Fix case of -b option with a full filepath Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 0992ec4c2e..ad1d6023fd 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: -- cgit 1.2.3-korg