From 66444931bff763261507ba8dce1d1c4e2331587f Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sat, 3 Dec 2022 22:42:29 -0800 Subject: [PATCH] Change some working directories. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 279ccbc..484e4e1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -143,7 +143,7 @@ fn reload(config: &State, repo: &str) -> Result { if needs_clone { output.push(logging_run( Command::new("git") - .current_dir(&config.build_root) + .current_dir(&git_root) .arg("clone") .arg(&source_path) .arg(&build_path), @@ -151,7 +151,7 @@ fn reload(config: &State, repo: &str) -> Result { } output.push(logging_run( Command::new("git") - .current_dir(&config.build_root) + .current_dir(&build_path) .arg("checkout") .arg("-f") .arg("origin"),