diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index ea99198a7b..2808df6ac0 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -69,10 +69,10 @@ class Wget(FetchMethod): | |||
69 | basecmd += " -O ${DL_DIR}/" + ud.localfile | 69 | basecmd += " -O ${DL_DIR}/" + ud.localfile |
70 | 70 | ||
71 | if checkonly: | 71 | if checkonly: |
72 | fetchcmd = d.getVar("CHECKCOMMAND_wget", True) or d.expand(basecmd + " -c -P ${DL_DIR} '${URI}'") | 72 | fetchcmd = d.getVar("CHECKCOMMAND_wget", True) or 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 + " --spider -P ${DL_DIR} '${URI}'") | 75 | fetchcmd = d.getVar("RESUMECOMMAND_wget", True) or 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.getVar("FETCHCOMMAND_wget", True) or d.expand(basecmd + " -P ${DL_DIR} '${URI}'") |
78 | 78 | ||