mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-11-16 00:10:39 +08:00
Revert "temporary fix: sourced .bashrc to set $PATH"
This reverts commit 072b942b1e.
This commit is contained in:
+1
-4
@@ -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))?;
|
||||
|
||||
Reference in New Issue
Block a user