Skip to content
Snippets Groups Projects
Commit a67734f6 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'remove_temp' into 'master'

Remove temporary files and directories

See merge request !28
parents 48c0ff8e 53465196
No related branches found
No related tags found
1 merge request!28Remove temporary files and directories
......@@ -127,6 +127,7 @@ fn base(bootloader_bin: &Path, gui: bool, fuse: bool) -> io::Result<PathBuf> {
}
fs::rename(&base_partial, &base_bin)?;
fs::remove_dir_all(&base_dir)?;
}
Ok(base_bin)
}
......
......@@ -70,6 +70,8 @@ pub fn toolchain() -> io::Result<PathBuf> {
.status()
.and_then(status_error)?;
fs::remove_file(&shasum_file)?;
fs::remove_file(&prefix_tar)?;
fs::rename(&toolchain_partial, &toolchain_dir)?;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment