mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-19 00:07:46 +08:00
waf: Fix the host version check.
This commit is contained in:
parent
8330198edc
commit
25c0a23445
@ -100,9 +100,9 @@ def local_packages():
|
|||||||
host, version = host_name()
|
host, version = host_name()
|
||||||
packages = None
|
packages = None
|
||||||
if host in hosts:
|
if host in hosts:
|
||||||
for version in list(hosts[host].keys()):
|
for hv in list(hosts[host].keys()):
|
||||||
if re.compile(version).match(version) is not None:
|
if re.compile(hv).match(version) is not None:
|
||||||
packages = hosts[host][version]
|
packages = hosts[host][hv]
|
||||||
return packages
|
return packages
|
||||||
|
|
||||||
def configure_tests(conf):
|
def configure_tests(conf):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user