diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/local.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/local.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index 8baec7d2e8..7d7668110e 100644 --- a/bitbake/lib/bb/fetch2/local.py +++ b/bitbake/lib/bb/fetch2/local.py | |||
@@ -51,11 +51,13 @@ class Local(FetchMethod): | |||
51 | path = urldata.decodedurl | 51 | path = urldata.decodedurl |
52 | newpath = path | 52 | newpath = path |
53 | if path[0] == "/": | 53 | if path[0] == "/": |
54 | logger.debug2("Using absolute %s" % (path)) | ||
54 | return [path] | 55 | return [path] |
55 | filespath = d.getVar('FILESPATH') | 56 | filespath = d.getVar('FILESPATH') |
56 | if filespath: | 57 | if filespath: |
57 | logger.debug2("Searching for %s in paths:\n %s" % (path, "\n ".join(filespath.split(":")))) | 58 | logger.debug2("Searching for %s in paths:\n %s" % (path, "\n ".join(filespath.split(":")))) |
58 | newpath, hist = bb.utils.which(filespath, path, history=True) | 59 | newpath, hist = bb.utils.which(filespath, path, history=True) |
60 | logger.debug2("Using %s for %s" % (newpath, path)) | ||
59 | searched.extend(hist) | 61 | searched.extend(hist) |
60 | return searched | 62 | return searched |
61 | 63 | ||