Skip to content

Commit

Permalink
build_dist.sh: use $go consistently.
Browse files Browse the repository at this point in the history
The invocation at the end unconditionally used
./tool/go, but the structuring on lines 14-17
sets up to use a different toolchain if the
platform requires it.

Fixes #8156

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
  • Loading branch information
DentonGentry committed Jun 4, 2023
1 parent 570cb01 commit df19a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_dist.sh
Expand Up @@ -49,4 +49,4 @@ while [ "$#" -gt 1 ]; do
esac
done

exec ./tool/go build ${tags:+-tags=$tags} -ldflags "$ldflags" "$@"
exec $go build ${tags:+-tags=$tags} -ldflags "$ldflags" "$@"

0 comments on commit df19a4a

Please sign in to comment.