Quellcode durchsuchen

fix bazel not set home

https://github.com/v2ray/discussion/issues/714#issuecomment-637034754
Kslr vor 5 Jahren
Ursprung
Commit
09295f7ef6
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. 1 3
      infra/bazel/build.bzl

+ 1 - 3
infra/bazel/build.bzl

@@ -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],