HDF5: Fix typo in symlink paths (#44711)

This commit is contained in:
psakievich 2024-06-14 12:48:32 -06:00 committed by GitHub
parent 6e4f8ea7e4
commit e5f5749d67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -627,7 +627,7 @@ def symlink_to_h5hl_wrappers(self):
with working_dir(self.prefix.bin):
# CMake's FindHDF5 relies only on h5cc so it doesn't find the HL
# component unless it uses h5hlcc so we symlink h5cc to h5hlcc etc
symlink_files = {"h5cc": "h5lcc", "h5c++": "h5lc++"}
symlink_files = {"h5cc": "h5hlcc", "h5c++": "h5hlc++"}
for old, new in symlink_files.items():
if os.path.isfile(old):
os.remove(old)