Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Feb 2, 2024
1 parent 24eede8 commit 738e327
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions script/go.bash
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 "$@"

0 comments on commit 738e327

Please sign in to comment.