mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bitbake/fetch2/local: Fix inverted update required logic
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -66,7 +66,7 @@ class Local(FetchMethod):
|
|||||||
return newpath
|
return newpath
|
||||||
|
|
||||||
def need_update(self, url, ud, d):
|
def need_update(self, url, ud, d):
|
||||||
if url.find("*") == -1:
|
if url.find("*") != -1:
|
||||||
return False
|
return False
|
||||||
if os.path.exists(ud.localpath):
|
if os.path.exists(ud.localpath):
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user