10000 Don't use lchmod(), not available in 3.6 · codrsquad/portable-python@13ee6f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13ee6f9

Browse files
author
Zoran Simic
committed
Don't use lchmod(), not available in 3.6
1 parent c3d7cd5 commit 13ee6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/portable_python/builder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def fix_lib_permissions(libs, mode=0o644):
105105
if path.name.endswith((".a", ".la")):
106106
current = path.stat().st_mode & 0o777
107107
if current != mode:
108-
path.lchmod(mode)
108+
path.chmod(mode)
109109

110110
@property
111111
def is_linux(self):

0 commit comments

Comments
 (0)
0