mirror of
git://git.yoctoproject.org/poky
synced 2026-09-16 19:54:39 +00:00
bitbake/fetch2/local: Fix inverted update required logic
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fab742bd46
commit
4f28cd2d18
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user