mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
fix bazel not set home
https://github.com/v2ray/discussion/issues/714#issuecomment-637034754
This commit is contained in:
parent
a1e4c9bc70
commit
09295f7ef6
@ -41,9 +41,7 @@ def _go_command(ctx):
|
|||||||
if ctx.attr.arm:
|
if ctx.attr.arm:
|
||||||
envs+=["GOARM="+ctx.attr.arm]
|
envs+=["GOARM="+ctx.attr.arm]
|
||||||
|
|
||||||
switchToPwd="cd ${SPWD} && "
|
command = " ".join(envs) + " " + command
|
||||||
|
|
||||||
command = switchToPwd + " ".join(envs) + " " + command
|
|
||||||
|
|
||||||
ctx.actions.run_shell(
|
ctx.actions.run_shell(
|
||||||
outputs = [output_file],
|
outputs = [output_file],
|
||||||
|
Loading…
Reference in New Issue
Block a user