Remove unnecessary git init
This commit is contained in:
parent
a45924cc21
commit
2bb3996244
@ -67,10 +67,6 @@ fn prepare_sysroot(dirs: &Dirs) {
|
|||||||
fs::write(SYSROOT_RUSTC_VERSION.to_path(dirs), &rustc_version).unwrap();
|
fs::write(SYSROOT_RUSTC_VERSION.to_path(dirs), &rustc_version).unwrap();
|
||||||
|
|
||||||
eprintln!("[GIT] init");
|
eprintln!("[GIT] init");
|
||||||
let mut git_init_cmd = Command::new("git");
|
|
||||||
git_init_cmd.arg("init").arg("-q").current_dir(sysroot_src.to_path(dirs));
|
|
||||||
spawn_and_wait(git_init_cmd);
|
|
||||||
|
|
||||||
init_git_repo(&sysroot_src.to_path(dirs));
|
init_git_repo(&sysroot_src.to_path(dirs));
|
||||||
|
|
||||||
apply_patches(dirs, "sysroot", &sysroot_src.to_path(dirs));
|
apply_patches(dirs, "sysroot", &sysroot_src.to_path(dirs));
|
||||||
|
Loading…
Reference in New Issue
Block a user