-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24eede8
commit 738e327
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
# We invoke ./script/internal/go.bash through the gofixpath subcommand such that | ||
# the "go" binary in PATH is the correct version of go. | ||
# We use ./pkg/gobash to ensure we execute the correct version of go. | ||
# | ||
# See https://github.com/ooni/probe/issues/2664 | ||
#go run ./internal/cmd/buildtool gofixpath -- ./script/internal/go.bash "$@" | ||
|
||
# See https://github.com/ooni/probe/issues/2664 for context. | ||
(cd ./pkg/gobash && go build -v -o gobash.exe .) | ||
./pkg/gobash/gobash.exe download | ||
./pkg/gobash/gobash.exe "$@" |