diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index a2abc8639c..882a2c4602 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py | |||
@@ -27,6 +27,7 @@ BitBake build tools. | |||
27 | 27 | ||
28 | import os | 28 | import os |
29 | import bb | 29 | import bb |
30 | import bb.utils | ||
30 | from bb import data | 31 | from bb import data |
31 | from bb.fetch import Fetch | 32 | from bb.fetch import Fetch |
32 | 33 | ||
@@ -47,7 +48,7 @@ class Local(Fetch): | |||
47 | if path[0] != "/": | 48 | if path[0] != "/": |
48 | filespath = data.getVar('FILESPATH', d, 1) | 49 | filespath = data.getVar('FILESPATH', d, 1) |
49 | if filespath: | 50 | if filespath: |
50 | newpath = bb.which(filespath, path) | 51 | newpath = bb.utils.which(filespath, path) |
51 | if not newpath: | 52 | if not newpath: |
52 | filesdir = data.getVar('FILESDIR', d, 1) | 53 | filesdir = data.getVar('FILESDIR', d, 1) |
53 | if filesdir: | 54 | if filesdir: |