summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8ad4922651..bafd832a67 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -985,12 +985,12 @@ class BBCooker:
985 """ 985 """
986 Find the .bb files which match the expression in 'buildfile'. 986 Find the .bb files which match the expression in 'buildfile'.
987 """ 987 """
988
989 if bf.startswith("/") or bf.startswith("../"): 988 if bf.startswith("/") or bf.startswith("../"):
990 bf = os.path.abspath(bf) 989 bf = os.path.abspath(bf)
991 filelist, masked = self.collect_bbfiles() 990 filelist, masked = self.collect_bbfiles()
992 try: 991 try:
993 os.stat(bf) 992 os.stat(bf)
993 bf = os.path.abspath(bf)
994 return [bf] 994 return [bf]
995 except OSError: 995 except OSError:
996 regexp = re.compile(bf) 996 regexp = re.compile(bf)