mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Append target to log dir so it can run parallel
This commit is contained in:
parent
1e0b60eec5
commit
97d8b2f691
@ -349,7 +349,8 @@ fn parse_args(args: Vec<String>) -> anyhow::Result<(CliConfig, CliCommand, Vec<C
|
||||
// need to prefix by cookbook dir
|
||||
config.category = Some(PathBuf::from("recipes").join(c));
|
||||
}
|
||||
if let Some(c) = config.logs_dir.as_ref() {
|
||||
if let Some(c) = config.logs_dir.as_mut() {
|
||||
*c = c.join(redoxer::target());
|
||||
fs::create_dir_all(c).map_err(|e| anyhow!(e))?;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user