Skip to content

Commit

Permalink
PythonExtension.add_files_to_view: link non-executable/non-shebang re…
Browse files Browse the repository at this point in the history
…gular files (spack#42641)
  • Loading branch information
haampie authored Feb 13, 2024
1 parent 2c4b529 commit 4a04989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/spack/spack/build_systems/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def add_files_to_view(self, view, merge_map, skip_if_exists=True):
fs.filter_file(
python_prefix, os.path.abspath(view.get_projection_for_spec(self.spec)), dst
)
else:
view.link(src, dst)

# Finally re-target the symlinks that point to copied files.
for src, dst in delayed_links:
Expand Down

0 comments on commit 4a04989

Please sign in to comment.