summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 7a73419fa3..fc389a3e2c 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -721,6 +721,8 @@ def which(path, item, direction = 0):
721 for p in paths: 721 for p in paths:
722 next = os.path.join(p, item) 722 next = os.path.join(p, item)
723 if os.path.exists(next): 723 if os.path.exists(next):
724 if not os.path.isabs(next):
725 next = os.path.abspath(next)
724 return next 726 return next
725 727
726 return "" 728 return ""