Change some working directories.
This commit is contained in:
parent
b6f696e40c
commit
66444931bf
@ -143,7 +143,7 @@ fn reload(config: &State<Config>, repo: &str) -> Result<String, SyncError> {
|
|||||||
if needs_clone {
|
if needs_clone {
|
||||||
output.push(logging_run(
|
output.push(logging_run(
|
||||||
Command::new("git")
|
Command::new("git")
|
||||||
.current_dir(&config.build_root)
|
.current_dir(&git_root)
|
||||||
.arg("clone")
|
.arg("clone")
|
||||||
.arg(&source_path)
|
.arg(&source_path)
|
||||||
.arg(&build_path),
|
.arg(&build_path),
|
||||||
@ -151,7 +151,7 @@ fn reload(config: &State<Config>, repo: &str) -> Result<String, SyncError> {
|
|||||||
}
|
}
|
||||||
output.push(logging_run(
|
output.push(logging_run(
|
||||||
Command::new("git")
|
Command::new("git")
|
||||||
.current_dir(&config.build_root)
|
.current_dir(&build_path)
|
||||||
.arg("checkout")
|
.arg("checkout")
|
||||||
.arg("-f")
|
.arg("-f")
|
||||||
.arg("origin"),
|
.arg("origin"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user