From d98bded97c7e5423ce674205236025ce8d1914b3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 9 Mar 2011 11:01:35 -0800 Subject: [PATCH] bitbake/fetch2/local: Fix inverted update required logic (From Poky rev: 4f28cd2d1854df8e6f56544fe509fb2e3ddce9aa) Signed-off-by: Richard Purdie --- lib/bb/fetch2/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3