-
Notifications
You must be signed in to change notification settings - Fork 884
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
better handle the case of using busybox wget #2885
Conversation
Signed-off-by: Chad Dougherty <[email protected]>
Example run without this patch:
Example run with this patch:
|
It occurs to me that an alternative (and probably better) approach would be to simply silence all the cases where the busybox wget spews something to stderr. If this would be more desirable, let me know and I'll change this PR to do that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks plausible, thank you.
better handle the case of using busybox wget
The command line options for the version of
wget
included with busybox are much different than those of standard version.As a result, the rustup-init script generates a fair amount of noise on systems that use the busybox wget even though installation can still ultimately succeed on supported platforms, e.g.,
stable-x86_64-unknown-linux-musl
on Alpine Linux x86_64.This patch forces the most minimal invocation in the busybox wget case which eliminates the chatter sent to
stderr
otherwise.Signed-off-by: Chad Dougherty [email protected]