diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index ed9a047d8d..2bf92c96a5 100644 --- a/bitbake/lib/bb/fetch2/local.py +++ b/bitbake/lib/bb/fetch2/local.py @@ -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