diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 20:03:13 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-13 20:03:13 +0800 |
commit | 7333328c487e7b62db138e194d3516d7b751f67b (patch) | |
tree | 50fc430737d09d63dad3fa166bdbdc37bfe0b3ef /bitbake | |
parent | aa81dda4d4f27ec0d3f54e62d329416819a27fa6 (diff) | |
download | openembedded-core-7333328c487e7b62db138e194d3516d7b751f67b.tar.gz openembedded-core-7333328c487e7b62db138e194d3516d7b751f67b.tar.bz2 openembedded-core-7333328c487e7b62db138e194d3516d7b751f67b.zip |
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.py | 4 |
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): if filespath: newpath = bb.utils.which(filespath, path) if not newpath: - dlpath = os.path.join(data.getVar('DL_DIR', d, True), path) - if os.exists(dlpath): - newpath = dlpath - if not newpath: filesdir = data.getVar('FILESDIR', d, 1) if filesdir: newpath = os.path.join(filesdir, path) |