diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-28 17:56:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-02 17:25:29 +0000 |
commit | 6265744ec579081f6abcf60390c650728157ae54 (patch) | |
tree | b20e1688426f21d4b833705344f0a1422ce74efa /bitbake/lib/bb/fetch2 | |
parent | c0bdd186090d92dac97d92bceb43a4e8c13203fb (diff) | |
download | poky-6265744ec579081f6abcf60390c650728157ae54.tar.gz |
bitbake: wget: Drop usage of old style *COMMAND variables
These variables were dropped from OE-Core some time ago, drop their
usage from the fetcher as well.
(Bitbake rev: bd33e709ab65d6966b234010641861834d170e2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 6 |
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 | ||