From 6fc7d4f0f7390b45cd8b2ee8207a4a96f10ac563 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 9 Dec 2004 12:40:43 +0000 Subject: Fix the BBPATH mangling fix.. --- lib/bb/parse/BBHandler.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/bb/parse') diff --git a/lib/bb/parse/BBHandler.py b/lib/bb/parse/BBHandler.py index 619b45d94..b3b96cb08 100644 --- a/lib/bb/parse/BBHandler.py +++ b/lib/bb/parse/BBHandler.py @@ -119,6 +119,8 @@ def handle(fn, d = {}, include = 0): i[0:0] = ["base"] inherit(i, d) + if not bbpath: + bbpath = (data.getVar('BBPATH', d, 1) or "").split(':') bbpath.insert(0, os.path.dirname(fn)) data.setVar('BBPATH', ":".join(bbpath), d) -- cgit 1.2.3-korg