Allow Bazel actions to see the SHELL variable.
Test: TH Change-Id: I97ffe7ad84dfb8d58d0e6d022f73d97a73778129
This commit is contained in:
parent
5ad66aaf41
commit
bf94d2fdba
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue