diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-24 10:31:06 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-25 17:25:50 +0000 |
commit | 80a52e7ad64d0870db18cddeda9588dc5b723f52 (patch) | |
tree | 28d86660e35561f7db577e142bb68361e466eed4 | |
parent | b5f8ce02b73f3b9e3ac95808c8369d85a88dfa7a (diff) | |
download | openembedded-core-80a52e7ad64d0870db18cddeda9588dc5b723f52.tar.gz openembedded-core-80a52e7ad64d0870db18cddeda9588dc5b723f52.tar.bz2 openembedded-core-80a52e7ad64d0870db18cddeda9588dc5b723f52.zip |
bb.which: fix broken direction/reverse argument
(Bitbake rev: 4725d83f532cad96168aa9affdedb33b6fc897b7)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index c564d34c7a..1bb9e9472d 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 |