1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

Revert "fix bazel not set home"

This commit is contained in:
Kslr 2020-06-03 09:58:15 +08:00 committed by GitHub
parent 46aa2c9e5e
commit b55fceba68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,9 @@ def _go_command(ctx):
if ctx.attr.arm: if ctx.attr.arm:
envs+=["GOARM="+ctx.attr.arm] envs+=["GOARM="+ctx.attr.arm]
command = " ".join(envs) + " " + command switchToPwd="cd ${SPWD} && "
command = switchToPwd + " ".join(envs) + " " + command
ctx.actions.run_shell( ctx.actions.run_shell(
outputs = [output_file], outputs = [output_file],