Skip to content

Commit

Permalink
that wasn't the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammond95 committed Sep 8, 2022
1 parent 2f61298 commit b0dfd49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gimme
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ _env() {

# if we try to run a Darwin binary on Linux, we need to fail so 'auto' can fallback to cross-compiling from source
# automatically
#GOFLAGS=""
GOROOT="${1}" "${1}/bin/go" version &>/dev/null || return 1
GOROOT="${1}" GOFLAGS="" "${1}/bin/go" version &>/dev/null || return 1
}

#############################################################################
Expand Down

0 comments on commit b0dfd49

Please sign in to comment.