Created
March 6, 2019 15:06
-
-
Save alexcrichton/5a3b52488d9fc62a5fb32ab36e8ff320 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rustup-init.sh b/rustup-init.sh | |
index 3815d2f1..8411bfef 100755 | |
--- a/rustup-init.sh | |
+++ b/rustup-init.sh | |
@@ -13,12 +13,12 @@ | |
# install rustup. It just does platform detection, downloads the installer | |
# and runs it. | |
-set -u | |
- | |
if [ -z "$RUSTUP_UPDATE_ROOT" ]; then | |
RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup" | |
fi | |
+set -u | |
+ | |
#XXX: If you change anything here, please make the same changes in setup_mode.rs | |
usage() { | |
cat 1>&2 <<EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment