Revert "temporary fix: sourced .bashrc to set $PATH"

This reverts commit 072b942b1e.
This commit is contained in:
Lars Wirzenius
2023-12-21 15:40:10 +02:00
parent 072b942b1e
commit 3b1cfbdc1f
+1 -4
View File
@@ -149,10 +149,7 @@ fn run(
log.write(format!("CI run spec: {:#?}\n", runspec))?;
debug!("running CI in cloned repository");
let snippet = format!(
"set -xeuo pipefail\nsource $HOME/.bashrc\n\n{}",
&runspec.shell
);
let snippet = format!("set -xeuo pipefail\n{}", &runspec.shell);
runcmd(&mut run_log, &["bash", "-c", &snippet], src)?;
write_response(&Response::finished(RunResult::Success))?;