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
RUSTUP_UPDATE_ROOT not set by default #1684
Comments
problem introduced in #1495 The script now contains a potential contradiction if the user has not set a RUSTUP_UPDATE_ROOT. The set makes use of unbound variables an error, and then there is a check for if the variable is empty. This would be fine if the user had set RUSTUP_UPDATE_ROOT to an empty value, but breaks if they haven't set it at all. I have to believe that is quite common. if [ -z "$RUSTUP_UPDATE_ROOT" ]; then |
See #1683 |
All I'll say is that it was nearing midnight when I tested 1.17.0's installer, and I clearly tested 1.16.0's instead because I'm super-clever like that. Mea culpa. |
I'll bankroll the use of a brand-new version number. No stress. |
We have a fix live which is fine for now, so unless other issues are spotted with 1.17.0 which we weren't aware of, I figure we'll leave this be. @Delet0r are you okay for this issue to be closed? |
Shure :D, thanks alot. |
The rust install script (https://sh.rustup.rs) when executed fails with the error:
I tried it on two different ubuntu setup by executing
curl https://sh.rustup.rs -sSf | sh
. When I set the value manually it worked but as far as I understand it this variable should have been set with a default with a default value.The text was updated successfully, but these errors were encountered: