From 5780ada8f8e3c39a62295f2131a6e818cc73872e Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Tue, 2 Apr 2024 09:58:28 +0800 Subject: [PATCH] fix: change cwd of scp to avoid running in nonexistent directory --- worker/src/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/build.rs b/worker/src/build.rs index 86fbf01..ba36948 100644 --- a/worker/src/build.rs +++ b/worker/src/build.rs @@ -246,7 +246,7 @@ async fn build( &path, &format!("maintainers@{}:/buildit/logs", args.rsync_host), ], - &output_path, + &tree_path, &mut scp_log, ) .await?