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
|
||||
|
||||
def need_update(self, url, ud, d):
|
||||
if url.find("*") == -1:
|
||||
if url.find("*") != -1:
|
||||
return False
|
||||
if os.path.exists(ud.localpath):
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue