]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "bitbake/fetch/local: Also check DL_DIR for files since they could already...
authorRichard Purdie <rpurdie@linux.intel.com>
Sat, 13 Nov 2010 12:03:13 +0000 (20:03 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Sat, 13 Nov 2010 12:03:13 +0000 (20:03 +0800)
These changes were incorrect.

This reverts commit ae98f7eacb9e61fe086d88dc694b4c651af9fee3.

bitbake/lib/bb/fetch/local.py

index 3553f37a7a109f1e48b024f5d6f6e383415a7f0e..882a2c4602bd7d66e2763614aeff803edda9a44a 100644 (file)
@@ -49,10 +49,6 @@ class Local(Fetch):
             filespath = data.getVar('FILESPATH', d, 1)
             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: