HDF5: Fix typo in symlink paths (#44711)
This commit is contained in:
parent
6e4f8ea7e4
commit
e5f5749d67
@ -627,7 +627,7 @@ def symlink_to_h5hl_wrappers(self):
|
|||||||
with working_dir(self.prefix.bin):
|
with working_dir(self.prefix.bin):
|
||||||
# CMake's FindHDF5 relies only on h5cc so it doesn't find the HL
|
# 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
|
# 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():
|
for old, new in symlink_files.items():
|
||||||
if os.path.isfile(old):
|
if os.path.isfile(old):
|
||||||
os.remove(old)
|
os.remove(old)
|
||||||
|
Loading…
Reference in New Issue
Block a user