mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Tell if tar removed
This commit is contained in:
parent
3a9f249e6e
commit
7224ca0707
@ -250,6 +250,7 @@ pub fn fetch(recipe_dir: &Path, source: &Option<SourceRecipe>) -> Result<PathBuf
|
||||
"The downloaded tar blake3 '{source_tar_blake3}' is not equal to blake3 in recipe.toml"
|
||||
));
|
||||
} else {
|
||||
eprintln!("DEBUG: source tar blake3 is different and need redownload");
|
||||
remove_all(&source_tar)?;
|
||||
}
|
||||
true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user