bitbake/fetch2/local: Fix inverted update required logic

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-03-09 11:01:35 -08:00
parent fab742bd46
commit 4f28cd2d18
1 changed files with 1 additions and 1 deletions

View File

@ -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