diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-07 22:44:53 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-07 22:44:53 +0100 |
commit | 1f86370db80a5ce85a5850f7eb8fdb92bd812add (patch) | |
tree | 6da98e9e0bb6e90861651f6e58b5983fcf0a7998 /bitbake-dev/lib/bb | |
parent | 1e638321db6ba3dbde84cee09e20353be82fe5f8 (diff) | |
download | openembedded-core-1f86370db80a5ce85a5850f7eb8fdb92bd812add.tar.gz openembedded-core-1f86370db80a5ce85a5850f7eb8fdb92bd812add.tar.bz2 openembedded-core-1f86370db80a5ce85a5850f7eb8fdb92bd812add.tar.xz openembedded-core-1f86370db80a5ce85a5850f7eb8fdb92bd812add.zip |
bitbake: Fix wget fetcher bug when only checking URIs and the download doesn't exist
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb')
-rw-r--r-- | bitbake-dev/lib/bb/fetch/wget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/fetch/wget.py b/bitbake-dev/lib/bb/fetch/wget.py index 2a899c580..a0dca9404 100644 --- a/bitbake-dev/lib/bb/fetch/wget.py +++ b/bitbake-dev/lib/bb/fetch/wget.py @@ -95,7 +95,7 @@ class Wget(Fetch): # Sanity check since wget can pretend it succeed when it didn't # Also, this used to happen if sourceforge sent us to the mirror page - if not os.path.exists(ud.localpath): + if not os.path.exists(ud.localpath) and not checkonly: bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) return False |