mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 18:49:34 +02:00
Revert "bitbake/fetch/local: Fix os.exists reference"
These changes were incorrect.
This reverts commit f8e3397935.
This commit is contained in:
@@ -51,7 +51,7 @@ class Local(Fetch):
|
|||||||
newpath = bb.utils.which(filespath, path)
|
newpath = bb.utils.which(filespath, path)
|
||||||
if not newpath:
|
if not newpath:
|
||||||
dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
|
dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
|
||||||
if os.path.exists(dlpath):
|
if os.exists(dlpath):
|
||||||
newpath = dlpath
|
newpath = dlpath
|
||||||
if not newpath:
|
if not newpath:
|
||||||
filesdir = data.getVar('FILESDIR', d, 1)
|
filesdir = data.getVar('FILESDIR', d, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user