From: Richard Purdie Date: Wed, 9 Mar 2011 19:01:35 +0000 (-0800) Subject: bitbake/fetch2/local: Fix inverted update required logic X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d98bded97c7e5423ce674205236025ce8d1914b3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake/fetch2/local: Fix inverted update required logic (From Poky rev: 4f28cd2d1854df8e6f56544fe509fb2e3ddce9aa) Signed-off-by: Richard Purdie --- diff --git a/lib/bb/fetch2/local.py b/lib/bb/fetch2/local.py index ed9a047d8d1..2bf92c96a58 100644 --- a/lib/bb/fetch2/local.py +++ b/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