Skip to content

Commit

Permalink
Fix wrap.py to avoid following symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
KaruroChori authored and jpakkane committed Jan 6, 2025
1 parent 631cce7 commit 1cda655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/wrap/wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,4 +870,4 @@ def copy_tree(self, root_src_dir: str, root_dst_dir: str) -> None:
except PermissionError:
os.chmod(dst_file, stat.S_IWUSR)
os.remove(dst_file)
shutil.copy2(src_file, dst_dir)
shutil.copy2(src_file, dst_dir, follow_symlinks=False)

0 comments on commit 1cda655

Please sign in to comment.