aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/src/rsync.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 04:42:10 +0000
committertv <tv@krebsco.de>2026-11-20 04:42:10 +0000
commit2aa54d9cb0399371a72a768cb5657a2bfebfde9e (patch)
treebcde33db3c3f07b0eec80e1f365c81de2cf0ad61 /pkgs/populate/src/rsync.rs
parent7e4597a38a29f66fd8bbc7415973caeaa9442bde (diff)
populate: run shell code with /bin/sh
populate runs shell code on the deploying machine and on the target with /bin/sh, so neither needs a shell in PATH, as the PATH a CI job runs populate with may lack one.
Diffstat (limited to 'pkgs/populate/src/rsync.rs')
-rw-r--r--pkgs/populate/src/rsync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/populate/src/rsync.rs b/pkgs/populate/src/rsync.rs
index 1b46723..05eb126 100644
--- a/pkgs/populate/src/rsync.rs
+++ b/pkgs/populate/src/rsync.rs
@@ -187,7 +187,7 @@ fn insecure_links(context: &Context, config: &Config, source: &str) -> Result<bo
}
// A dry run of the same transfer, as far as filtering goes.
let log = run::output(
- Command::new("sh")
+ Command::new(run::SH)
.arg("-c")
.arg(r#"rsync "$@" 2>&1 || :"#)
.arg("sh")