]> git.lizzy.rs Git - rust.git/commitdiff
Update rustup.sh for the moved dir of the sysroot source
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>
Fri, 20 Jan 2023 11:41:27 +0000 (12:41 +0100)
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>
Fri, 20 Jan 2023 11:41:27 +0000 (12:41 +0100)
scripts/rustup.sh

index 6111c2054446387142b4b27dd21e7ff460162ca0..34e3981b5381f5ceeb7e5df8d6a4f6d94ee87b06 100755 (executable)
@@ -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