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

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.