mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-10-30 16:30:59 +08:00
temporary fix: sourced .bashrc to set $PATH
Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
+4
-1
@@ -149,7 +149,10 @@ fn run(
|
||||
log.write(format!("CI run spec: {:#?}\n", runspec))?;
|
||||
|
||||
debug!("running CI in cloned repository");
|
||||
let snippet = format!("set -xeuo pipefail\n{}", &runspec.shell);
|
||||
let snippet = format!(
|
||||
"set -xeuo pipefail\nsource $HOME/.bashrc\n\n{}",
|
||||
&runspec.shell
|
||||
);
|
||||
runcmd(&mut run_log, &["bash", "-c", &snippet], src)?;
|
||||
|
||||
write_response(&Response::finished(RunResult::Success))?;
|
||||
|
||||
Reference in New Issue
Block a user