PythonExtension.add_files_to_view: link non-executable/non-shebang regular files (#42641)

This commit is contained in:
Harmen Stoppels 2024-02-13 12:55:37 +01:00 committed by GitHub
parent 2c4b529896
commit 4a04989bbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: