mirror of
git://git.yoctoproject.org/poky
synced 2026-08-15 11:23:22 +00:00
bitbake/fetch/local: Fix os.exists reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
ae98f7eacb
commit
f8e3397935
@ -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.exists(dlpath):
|
||||
if os.path.exists(dlpath):
|
||||
newpath = dlpath
|
||||
if not newpath:
|
||||
filesdir = data.getVar('FILESDIR', d, 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user