From 318d4a5026027b2a6e452070136f40597ee19cc5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 13 Nov 2010 20:03:13 +0800 Subject: [PATCH] Revert "bitbake/fetch/local: Also check DL_DIR for files since they could already exists there" These changes were incorrect. This reverts commit ae98f7eacb9e61fe086d88dc694b4c651af9fee3. --- bitbake/lib/bb/fetch/local.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 3553f37..882a2c4 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) -- 2.7.4