Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy tool copy symlink's target #2395

Closed
bdbaddog opened this issue Jan 2, 2018 · 0 comments
Closed

Copy tool copy symlink's target #2395

bdbaddog opened this issue Jan 2, 2018 · 0 comments

Comments

@bdbaddog
Copy link
Contributor

bdbaddog commented Jan 2, 2018

This issue was originally created at: 2009-04-09 13:42:39.
This issue was reported by: efficks.
efficks said at 2009-04-09 13:42:39

The Copy tool use shutil.copytree to copy a file to a destination.
When copying a symlink, copytree copy the symlink's target by default and not
the symlink.
We need to set a parameter to copy the symlink instead of the target and pass
this option to copytree(..., symlink=True)

gregnoel said at 2009-04-15 20:13:50

Bug party triage. We agree that the default should be changed but there should
be a keyword argument to Copy() to allow the user to select between the two
modes. Francois-Xavier, can you prepare a patch to that effect? It'll need a
test. If you do, please notify us on the dev list and we'll move it up from the
milestone it currently has.

wblevins001 said at 2014-07-12 12:02:50

Accepting

wblevins001 said at 2014-07-27 09:24:19

Pull request accepted.

dirkbaechle said at 2015-05-05 14:18:39

PR merged in
https://bitbucket.org/scons/scons/commits/7b4a9d7393cdc9086edec7d9e3948635f4ea8f4
3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant