PythonExtension.add_files_to_view: link non-executable/non-shebang regular files (#42641)
This commit is contained in:
parent
2c4b529896
commit
4a04989bbb
@ -169,6 +169,8 @@ def add_files_to_view(self, view, merge_map, skip_if_exists=True):
|
|||||||
fs.filter_file(
|
fs.filter_file(
|
||||||
python_prefix, os.path.abspath(view.get_projection_for_spec(self.spec)), dst
|
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.
|
# Finally re-target the symlinks that point to copied files.
|
||||||
for src, dst in delayed_links:
|
for src, dst in delayed_links:
|
||||||
|
Loading…
Reference in New Issue
Block a user