]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake/fetch2/local: Fix inverted update required logic
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2011 19:01:35 +0000 (11:01 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 May 2011 17:20:10 +0000 (18:20 +0100)
(From Poky rev: 4f28cd2d1854df8e6f56544fe509fb2e3ddce9aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/local.py

index ed9a047d8d162dc0dbb4558bd4333b3021fabcde..2bf92c96a58c8caae0e39682e80138bc8998c8df 100644 (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