summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index c564d34c7..1bb9e9472 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -611,7 +611,7 @@ def which(path, item, direction = 0):
if direction != 0:
paths.reverse()
- for p in (path or "").split(':'):
+ for p in paths:
next = os.path.join(p, item)
if os.path.exists(next):
return next