Parcourir la source

bitbake/fetch2/local: Fix inverted update required logic

(From Poky rev: 4f28cd2d1854df8e6f56544fe509fb2e3ddce9aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie il y a 13 ans
Parent
commit
d98bded97c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/bb/fetch2/local.py

+ 1 - 1
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