aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 12:40:43 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 12:40:43 +0000
commit6fc7d4f0f7390b45cd8b2ee8207a4a96f10ac563 (patch)
tree4ee269373293a8652f30ae647fe9d9c61ea81a6a
parent7726a4cab1fb7de0edb155f2397b81c3aea18e73 (diff)
downloadbitbake-6fc7d4f0f7390b45cd8b2ee8207a4a96f10ac563.tar.gz
Fix the BBPATH mangling fix..
-rw-r--r--lib/bb/parse/BBHandler.py2
1 files changed, 2 insertions, 0 deletions
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)