]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
wget: Drop usage of old style *COMMAND variables
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2014 17:56:04 +0000 (17:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Mar 2014 17:23:30 +0000 (17:23 +0000)
These variables were dropped from OE-Core some time ago, drop their
usage from the fetcher as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/wget.py

index 7cd25a508c36f8ae07f13f03b93f4869e5eaf97c..e2f99ce3e31d70580ebed37643139b0a5452cae8 100644 (file)
@@ -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]