about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-01-20 12:41:27 +0100
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-01-20 12:41:27 +0100
commit92b4c76652bb79dd767a1f117ecbd88b85dcd807 (patch)
treec0f1120bda6b8b9cea04b0e9b0ef761fb5c7eda9
parent7d14e606bef1732c1f42f8598b0ca9d435cfdcaf (diff)
downloadrust-92b4c76652bb79dd767a1f117ecbd88b85dcd807.tar.gz
rust-92b4c76652bb79dd767a1f117ecbd88b85dcd807.zip
Update rustup.sh for the moved dir of the sysroot source
-rwxr-xr-xscripts/rustup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rustup.sh b/scripts/rustup.sh
index 6111c205444..34e3981b538 100755
--- a/scripts/rustup.sh
+++ b/scripts/rustup.sh
@@ -18,9 +18,9 @@ case $1 in
 
         ./clean_all.sh
 
-        (cd build_sysroot && cargo update)
-
         ./y.rs prepare
+
+        (cd download/sysroot && cargo update && cargo fetch && cp Cargo.lock ../../build_sysroot/)
         ;;
     "commit")
         git add rust-toolchain build_sysroot/Cargo.lock