mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 04:57:15 +00:00
Revert "bitbake/fetch/local: Fix os.exists reference"
These changes were incorrect.
This reverts commit f8e3397935.
This commit is contained in:
1 parent
f8e3397935
commit
aa81dda4d4
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user