crtm-fix: fix directory logic (#50172)
This commit is contained in:
parent
a3c7e97463
commit
21da90e062
@ -55,6 +55,7 @@ def install(self, spec, prefix):
|
||||
for d in endian_dirs:
|
||||
fix_files = fix_files + find(".", "*/{}/*".format(d), recursive=False)
|
||||
fix_files = fix_files + find(".", "*/*/{}/*".format(d), recursive=False)
|
||||
fix_files = fix_files + find(".", "*/*/*/{}/*".format(d), recursive=False)
|
||||
if self.spec.satisfies("~testfiles"):
|
||||
fix_files = [f for f in fix_files if "/fix/test_data/" not in f]
|
||||
fix_files = [f for f in fix_files if os.path.isfile(f)]
|
||||
|
Loading…
Reference in New Issue
Block a user