Merge "Allow Bazel actions to see the SHELL variable."

This commit is contained in:
Rupert Shuttleworth 2021-04-03 03:07:36 +00:00 committed by Gerrit Code Review
commit 176cf46f40
1 changed files with 3 additions and 0 deletions

View File

@ -149,6 +149,9 @@ func runBazel(ctx Context, config Config) {
cmd.Args = append(cmd.Args, "--action_env=PATH="+pathEnvValue)
}
// Allow Bazel actions to see the SHELL variable (passed to Bazel above)
cmd.Args = append(cmd.Args, "--action_env=SHELL")
// Append custom build flags to the Bazel command. Changes to these flags
// may invalidate Bazel's analysis cache.
// These should be appended as the final args, so that they take precedence.