Commit b4f462db authored by Barry Warsaw's avatar Barry Warsaw

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

parent 55b51fce
...@@ -215,7 +215,8 @@ class EnvBuilder: ...@@ -215,7 +215,8 @@ class EnvBuilder:
# Issue 18807: make copies if # Issue 18807: make copies if
# symlinks are not wanted # symlinks are not wanted
copier(context.env_exe, path) copier(context.env_exe, path)
os.chmod(path, 0o755) if not os.path.islink(path):
os.chmod(path, 0o755)
else: else:
subdir = 'DLLs' subdir = 'DLLs'
include = self.include_binary include = self.include_binary
......
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