summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch/local.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index 3553f37a7a..882a2c4602 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -50,10 +50,6 @@ class Local(Fetch):
50 if filespath: 50 if filespath:
51 newpath = bb.utils.which(filespath, path) 51 newpath = bb.utils.which(filespath, path)
52 if not newpath: 52 if not newpath:
53 dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
54 if os.exists(dlpath):
55 newpath = dlpath
56 if not newpath:
57 filesdir = data.getVar('FILESDIR', d, 1) 53 filesdir = data.getVar('FILESDIR', d, 1)
58 if filesdir: 54 if filesdir:
59 newpath = os.path.join(filesdir, path) 55 newpath = os.path.join(filesdir, path)