diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-20 12:09:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-20 12:09:31 +0000 |
commit | 079e6825aacec7ef9b3976c9057363b690a43ce5 (patch) | |
tree | b25054c486e11d0b293e2166f1c4cdce02eb8704 /bitbake/lib/bb/fetch/wget.py | |
parent | 027c071fc5fbaed003d17e1d385008a5b70ee3eb (diff) | |
download | poky-079e6825aacec7ef9b3976c9057363b690a43ce5.tar.gz |
bitbake: sync with upstream stable branch bugfixes and enhancements
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3554 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch/wget.py')
-rw-r--r-- | bitbake/lib/bb/fetch/wget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py index 2d590ad0b2..f8ade45da7 100644 --- a/bitbake/lib/bb/fetch/wget.py +++ b/bitbake/lib/bb/fetch/wget.py | |||
@@ -66,10 +66,10 @@ class Wget(Fetch): | |||
66 | if ret != 0: | 66 | if ret != 0: |
67 | return False | 67 | return False |
68 | 68 | ||
69 | # check if sourceforge did send us to the mirror page | 69 | # Sanity check since wget can pretend it succeed when it didn't |
70 | # Also, this used to happen if sourceforge sent us to the mirror page | ||
70 | if not os.path.exists(ud.localpath): | 71 | if not os.path.exists(ud.localpath): |
71 | os.system("rm %s*" % ud.localpath) # FIXME shell quote it | 72 | bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) |
72 | bb.msg.debug(2, bb.msg.domain.Fetcher, "sourceforge.net send us to the mirror on %s" % ud.basename) | ||
73 | return False | 73 | return False |
74 | 74 | ||
75 | return True | 75 | return True |