Commit adaddde3 authored by Barry Warsaw's avatar Barry Warsaw

Don't chmod() if path is a symlink.

parent e3fcfc24
......@@ -215,6 +215,7 @@ class EnvBuilder:
# Issue 18807: make copies if
# symlinks are not wanted
copier(context.env_exe, path)
if not os.path.islink(path):
os.chmod(path, 0o755)
else:
subdir = 'DLLs'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment