]> git.lizzy.rs Git - rust.git/blobdiff - scripts/rustup.sh
Update list of ignores rustc tests
[rust.git] / scripts / rustup.sh
index 694945a87c268deaa890288ab55ff7b5bbe1f601..cc34c08088665bc19cdea842e961593052c28e50 100755 (executable)
@@ -8,7 +8,7 @@ case $1 in
 
         echo "=> Installing new nightly"
         rustup toolchain install --profile minimal "nightly-${TOOLCHAIN}" # Sanity check to see if the nightly exists
-        echo "nightly-${TOOLCHAIN}" > rust-toolchain
+        sed -i "s/\"nightly-.*\"/\"nightly-${TOOLCHAIN}\"/" rust-toolchain
         rustup component add rustfmt || true
 
         echo "=> Uninstalling all old nighlies"
@@ -17,7 +17,7 @@ case $1 in
         done
 
         ./clean_all.sh
-        ./prepare.sh
+        ./y.rs prepare
 
         (cd build_sysroot && cargo update)