Fixed current dir

main
Michal 2 years ago
parent da8b8546a3
commit ddc14fe1f8
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -87,6 +87,14 @@ fn do_the_pulling(repos: Vec<String>, verbose: bool, params: &PullParams) {
// Push to build
crate::operations::build(&packages_to_rebuild, vec![], params.no_regen, verbose);
// Ensure you are in root dir
env::set_current_dir(root_dir).unwrap();
log!(
verbose,
"Returned to root dir: {:?}",
env::current_dir().unwrap()
);
}
}
}

Loading…
Cancel
Save