1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

Revert "bitbake/fetch/local: Fix os.exists reference"

These changes were incorrect.

This reverts commit f8e3397935.
This commit is contained in:
Richard Purdie
2010-11-13 20:02:38 +08:00
parent f8e3397935
commit aa81dda4d4
+1 -1
View File
@@ -51,7 +51,7 @@ class Local(Fetch):
newpath = bb.utils.which(filespath, path)
if not newpath:
dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
if os.path.exists(dlpath):
if os.exists(dlpath):
newpath = dlpath
if not newpath:
filesdir = data.getVar('FILESDIR', d, 1)