From 97a47d30b9e12e494a3da59d7359eb930230e4c2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 18 May 2005 22:37:01 +0000 Subject: tbake/lib/bb/fetch.py: Stop sf.net from bull?#*... us. We will fail when we wanted to download a file and got something with a different name. This should solve sf.net related problems as we go immediately to the next mirror and it should work for all other packages as well. --- lib/bb/fetch.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/bb/fetch.py b/lib/bb/fetch.py index ee5c40ba6..8567fbfd8 100644 --- a/lib/bb/fetch.py +++ b/lib/bb/fetch.py @@ -183,6 +183,13 @@ class Wget(Fetch): if ret != 0: return False + # check if sourceforge did send us to the mirror page + dl_dir = data.getVar("DL_DIR", d, True) + if not os.path.exists(dl): + os.system("rm %s*" % dl) # FIXME shell quote it + bb.debug(2,"sourceforge.net send us to the mirror on %s" % basename) + return False + # supposedly complete.. write out md5sum if bb.which(data.getVar('PATH', d), 'md5sum'): try: -- cgit 1.2.3-korg a-openembedded-contrib
OpenEmbedded layers collection contribution treesGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/lirc/lirc.inc
blob: 6ff8e01609e4f8d4500967aa08d535ae2fdc6ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13