summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index c185f5b5f4..c8c6d5ce83 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -481,7 +481,7 @@ class Wget(FetchMethod):
481 self.suffix_regex_comp = re.compile(psuffix_regex) 481 self.suffix_regex_comp = re.compile(psuffix_regex)
482 482
483 # compile regex, can be specific by package or generic regex 483 # compile regex, can be specific by package or generic regex
484 pn_regex = d.getVar('REGEX', True) 484 pn_regex = d.getVar('UPSTREAM_CHECK_REGEX', True)
485 if pn_regex: 485 if pn_regex:
486 package_custom_regex_comp = re.compile(pn_regex) 486 package_custom_regex_comp = re.compile(pn_regex)
487 else: 487 else:
@@ -517,7 +517,7 @@ class Wget(FetchMethod):
517 bb.debug(3, "latest_versionstring, regex: %s" % (package_regex.pattern)) 517 bb.debug(3, "latest_versionstring, regex: %s" % (package_regex.pattern))
518 518
519 uri = "" 519 uri = ""
520 regex_uri = d.getVar("REGEX_URI", True) 520 regex_uri = d.getVar("UPSTREAM_CHECK_URI", True)
521 if not regex_uri: 521 if not regex_uri:
522 path = ud.path.split(package)[0] 522 path = ud.path.split(package)[0]
523 523