1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

BBHandler: use os.path in inherit()

(Bitbake rev: 5b85de2c71973ba490b95a5d9ab634635f395142)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Bernhard Reutner-Fischer
2010-11-15 16:27:27 +01:00
committed by Richard Purdie
parent b44100eafc
commit f565258368
+1 -1
View File
@@ -74,7 +74,7 @@ def inherit(files, d):
lineno = 0
for file in files:
file = data.expand(file, d)
if file[0] != "/" and file[-8:] != ".bbclass":
if not os.path.isabs(file) and not file.endswith(".bbclass"):
file = os.path.join('classes', '%s.bbclass' % file)
if not file in __inherit_cache: