From d9d3da757fa395472728c5cf3cab3bdc27b3448b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 27 Apr 2008 12:51:57 +0000 Subject: fetchers: Tweak the new checkstatus code to handle some corner cases better --- lib/bb/fetch/wget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bb/fetch/wget.py') diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py index a5979dead..739d5a1bc 100644 --- a/lib/bb/fetch/wget.py +++ b/lib/bb/fetch/wget.py @@ -53,7 +53,7 @@ class Wget(Fetch): def fetch_uri(uri, ud, d): if checkonly: - fetchcmd = data.getVar("FETCHCOMMAND", d, 1) + " " + data.getVar("FETCHOPTION_checkonly", d, 1) + fetchcmd = data.getVar("CHECKCOMMAND", d, 1) elif os.path.exists(ud.localpath): # file exists, but we didnt complete it.. trying again.. fetchcmd = data.getVar("RESUMECOMMAND", d, 1) -- cgit 1.2.3-korg