Skip to content

Commit

Permalink
fix: GOBIN env not set
Browse files Browse the repository at this point in the history
  • Loading branch information
c3b2a7 committed Jun 23, 2024
1 parent 86dbeed commit 62585b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/get-sshtunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ fi
if [ "$use_go" = "y" ]; then
version="latest"
go_bin=$(go env GOBIN)
if [ "$go_bin" = "" ]; then
go_bin=$(go env GOPATH)
fi
if [ "$go_bin" = "" ]; then
go_bin="$HOME/go/bin"
fi
Expand Down

0 comments on commit 62585b6

Please sign in to comment.