mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-31 07:51:24 +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()
|
||||
packages = None
|
||||
if host in hosts:
|
||||
for version in list(hosts[host].keys()):
|
||||
if re.compile(version).match(version) is not None:
|
||||
packages = hosts[host][version]
|
||||
for hv in list(hosts[host].keys()):
|
||||
if re.compile(hv).match(version) is not None:
|
||||
packages = hosts[host][hv]
|
||||
return packages
|
||||
|
||||
def configure_tests(conf):
|
||||
|
Loading…
x
Reference in New Issue
Block a user