summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-13 20:03:13 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-13 20:03:13 +0800
commit7333328c487e7b62db138e194d3516d7b751f67b (patch)
tree50fc430737d09d63dad3fa166bdbdc37bfe0b3ef /bitbake
parentaa81dda4d4f27ec0d3f54e62d329416819a27fa6 (diff)
downloadpoky-7333328c487e7b62db138e194d3516d7b751f67b.tar.gz
Revert "bitbake/fetch/local: Also check DL_DIR for files since they could already exists there"
These changes were incorrect. This reverts commit ae98f7eacb9e61fe086d88dc694b4c651af9fee3.
Diffstat (limited to 'bitbake')
-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)