summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-28 17:56:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-02 17:25:29 +0000
commit6265744ec579081f6abcf60390c650728157ae54 (patch)
treeb20e1688426f21d4b833705344f0a1422ce74efa /bitbake/lib/bb/fetch2
parentc0bdd186090d92dac97d92bceb43a4e8c13203fb (diff)
downloadast2050-yocto-poky-6265744ec579081f6abcf60390c650728157ae54.zip
ast2050-yocto-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.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 7cd25a5..e2f99ce 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -69,12 +69,12 @@ class Wget(FetchMethod):
basecmd += " -O " + dldir + os.sep + ud.localfile
if checkonly:
- fetchcmd = d.getVar("CHECKCOMMAND_wget", True) or d.expand(basecmd + " --spider '${URI}'")
+ fetchcmd = d.expand(basecmd + " --spider '${URI}'")
elif os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again..
- fetchcmd = d.getVar("RESUMECOMMAND_wget", True) or d.expand(basecmd + " -c -P ${DL_DIR} '${URI}'")
+ fetchcmd = d.expand(basecmd + " -c -P ${DL_DIR} '${URI}'")
else:
- fetchcmd = d.getVar("FETCHCOMMAND_wget", True) or d.expand(basecmd + " -P ${DL_DIR} '${URI}'")
+ fetchcmd = d.expand(basecmd + " -P ${DL_DIR} '${URI}'")
uri = ud.url.split(";")[0]
OpenPOWER on IntegriCloud