Skip to content

Commit

Permalink
fix SimpleBash env (#1140)
Browse files Browse the repository at this point in the history
Co-authored-by: imakunin <imakunin@yandex-team.ru>
  • Loading branch information
imakunin and imakunin committed Oct 13, 2023
1 parent 36cd2f9 commit 66c8535
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public BaseEnvironment base() {

private LzyProcess execInEnv(String command, @Nullable String[] envp) {
LOG.info("Executing command `{}`", command);
String[] bashCmd = new String[]{"bash", "-c", "cd %s && ".formatted(workingDirectory) + command};
String[] bashCmd = new String[]{"/bin/bash", "-c", "cd %s && ".formatted(workingDirectory) + command};

var env = new ArrayList<>(envList);

Expand Down

0 comments on commit 66c8535

Please sign in to comment.