summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-09 11:01:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-09 11:01:35 -0800
commit4f28cd2d1854df8e6f56544fe509fb2e3ddce9aa (patch)
treee043502c566c61b5a16ee789842e877021e463e4 /bitbake/lib/bb/fetch2
parentfab742bd4693ed3092690a20dd32d53fe27c3d4c (diff)
downloadpoky-4f28cd2d1854df8e6f56544fe509fb2e3ddce9aa.tar.gz
bitbake/fetch2/local: Fix inverted update required logic
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/local.py2
1 files changed, 1 insertions, 1 deletions
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):
66 return newpath 66 return newpath
67 67
68 def need_update(self, url, ud, d): 68 def need_update(self, url, ud, d):
69 if url.find("*") == -1: 69 if url.find("*") != -1:
70 return False 70 return False
71 if os.path.exists(ud.localpath): 71 if os.path.exists(ud.localpath):
72 return False 72 return False