diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-09 11:01:35 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-09 13:21:23 -0800 |
commit | 09d166ebfd4b0f3e50b5410833fac059614ad6bb (patch) | |
tree | 7b2ece366aa40fc05988ac624181224198f79dcc /bitbake/lib | |
parent | f432f1b01069c2083d420a2accde169f2dafdfab (diff) | |
download | poky-09d166ebfd4b0f3e50b5410833fac059614ad6bb.tar.gz |
bitbake/fetch2/local: Fix inverted update required logic
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/local.py | 2 |
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 |