summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch/local.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index f9f8994f0..3553f37a7 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -51,7 +51,7 @@ class Local(Fetch):
newpath = bb.utils.which(filespath, path)
if not newpath:
dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
- if os.path.exists(dlpath):
+ if os.exists(dlpath):
newpath = dlpath
if not newpath:
filesdir = data.getVar('FILESDIR', d, 1)