summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/wget.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 7cd25a508c..e2f99ce3e3 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -69,12 +69,12 @@ class Wget(FetchMethod):
69 basecmd += " -O " + dldir + os.sep + ud.localfile 69 basecmd += " -O " + dldir + os.sep + ud.localfile
70 70
71 if checkonly: 71 if checkonly:
72 fetchcmd = d.getVar("CHECKCOMMAND_wget", True) or d.expand(basecmd + " --spider '${URI}'") 72 fetchcmd = d.expand(basecmd + " --spider '${URI}'")
73 elif os.path.exists(ud.localpath): 73 elif os.path.exists(ud.localpath):
74 # file exists, but we didnt complete it.. trying again.. 74 # file exists, but we didnt complete it.. trying again..
75 fetchcmd = d.getVar("RESUMECOMMAND_wget", True) or d.expand(basecmd + " -c -P ${DL_DIR} '${URI}'") 75 fetchcmd = d.expand(basecmd + " -c -P ${DL_DIR} '${URI}'")
76 else: 76 else:
77 fetchcmd = d.getVar("FETCHCOMMAND_wget", True) or d.expand(basecmd + " -P ${DL_DIR} '${URI}'") 77 fetchcmd = d.expand(basecmd + " -P ${DL_DIR} '${URI}'")
78 78
79 uri = ud.url.split(";")[0] 79 uri = ud.url.split(";")[0]
80 80