diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/local.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/local.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index 7b840a46d3..d77d39375e 100644 --- a/bitbake/lib/bb/fetch2/local.py +++ b/bitbake/lib/bb/fetch2/local.py | |||
@@ -50,11 +50,11 @@ class Local(FetchMethod): | |||
50 | path = path.split(";")[0] | 50 | path = path.split(";")[0] |
51 | newpath = path | 51 | newpath = path |
52 | if path[0] != "/": | 52 | if path[0] != "/": |
53 | filespath = data.getVar('FILESPATH', d, 1) | 53 | filespath = data.getVar('FILESPATH', d, True) |
54 | if filespath: | 54 | if filespath: |
55 | newpath = bb.utils.which(filespath, path) | 55 | newpath = bb.utils.which(filespath, path) |
56 | if not newpath: | 56 | if not newpath: |
57 | filesdir = data.getVar('FILESDIR', d, 1) | 57 | filesdir = data.getVar('FILESDIR', d, True) |
58 | if filesdir: | 58 | if filesdir: |
59 | newpath = os.path.join(filesdir, path) | 59 | newpath = os.path.join(filesdir, path) |
60 | return newpath | 60 | return newpath |