Skip to content

Commit

Permalink
fix bazel not set home
Browse files Browse the repository at this point in the history
  • Loading branch information
kslr authored Jun 1, 2020
1 parent a1e4c9b commit 09295f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions infra/bazel/build.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ def _go_command(ctx):
if ctx.attr.arm:
envs+=["GOARM="+ctx.attr.arm]

switchToPwd="cd ${SPWD} && "

command = switchToPwd + " ".join(envs) + " " + command
command = " ".join(envs) + " " + command

ctx.actions.run_shell(
outputs = [output_file],
Expand Down

0 comments on commit 09295f7

Please sign in to comment.