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

Fix utils::copy_file for symlink. #1521

Merged
merged 1 commit into from Jan 14, 2019
Merged

Conversation

reitermarkus
Copy link
Contributor

@reitermarkus reitermarkus commented Oct 4, 2018

When rustup-init is a symlink, create a symlink to that symlink instead of resolving it first. This is also in line with using the no-self-update feature, to allow managing the rustup version with Homebrew.

Fixes #1512.

@reitermarkus
Copy link
Contributor Author

Ping.

2 similar comments
@reitermarkus
Copy link
Contributor Author

Ping.

@reitermarkus
Copy link
Contributor Author

Ping.

@reitermarkus
Copy link
Contributor Author

@alexcrichton, anything I can do to move this along?

@alexcrichton
Copy link
Member

@reitermarkus unfortunately rustup doesn't have a lot of active development and I don't personally have enough time to take a deep dive here to see if this is the correct fix or not (or what sort of unintended fallout this might have)

@reitermarkus
Copy link
Contributor Author

@alexcrichton, no worries. For what it's worth, this patch has been integrated into the Homebrew package for a month now without any bug reports, if that is any indication on correctness.

@nrc
Copy link
Member

nrc commented Jan 14, 2019

Given this fixes an issue that is affecting several people and seems to be working for Homebrew, I'm going to merge this. Thanks for the PR @reitermarkus !

@nrc nrc merged commit edf7206 into rust-lang:master Jan 14, 2019
@reitermarkus reitermarkus deleted the fix-symlink branch January 14, 2019 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants