From 2aa54d9cb0399371a72a768cb5657a2bfebfde9e Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 04:42:10 +0000 Subject: 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. --- pkgs/populate/src/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/populate/src/shell.rs') diff --git a/pkgs/populate/src/shell.rs b/pkgs/populate/src/shell.rs index befd4aa..4093ed7 100644 --- a/pkgs/populate/src/shell.rs +++ b/pkgs/populate/src/shell.rs @@ -32,7 +32,7 @@ pub fn shell(options: ShellOptions) -> ExitCode { words.push("sudo".to_string()); } words.extend([ - "/bin/sh".to_string(), + run::SH.to_string(), "-c".to_string(), options.script, "sh".to_string(), -- cgit v1.3.1