Skip to content

Commit

Permalink
fix: try without customization of env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
filmil committed Dec 18, 2023
1 parent 5e8f79a commit d54582e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions build/release/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ sh_binary(
"--zoekt-index-binary=$(location :zoekt-index)",
],
tags = ["manual"],
env = {
"RLOC_gotopt2": "exernal/bazoekt/gotopt2",
"RLOC_zoekt": "exernal/bazoekt/index",
}
)

sh_binary(
Expand All @@ -30,9 +26,5 @@ sh_binary(
"--zoekt-webserver-binary=$(location :zoekt-webserver)"
],
tags = ["manual"],
env = {
"RLOC_gotopt2": "exernal/bazoekt/gotopt2",
"RLOC_zoekt": "exernal/bazoekt/serve",
}
)

2 changes: 0 additions & 2 deletions run_zoekt_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ fi
RLOC_gotopt2="${RLOC_gotopt2:-gotopt2/cmd/gotopt2/gotpt2_/gotopt2}"
RLOC_zoekt="${RLOC_zoekt:-com_github_google_zoekt/cmd/zoekt-index/zoekt-index_/zoekt-index}"

# This is seriously weird: should I be guessing the OS and architecture to get
# at a binary that I want to use?
readonly _gotopt_binary="$(rlocation ${RLOC_gotopt2})"
readonly _zoekt_index_binary="$(rlocation ${RLOC_zoekt})"
# Exit quickly if the binary isn't found. This may happen if the binary location
Expand Down

0 comments on commit d54582e

Please sign in to comment.