Merge pull request #3102 from pgier/unset-gobin-during-build

Unset GOBIN in Makefile
This commit is contained in:
Frederic Branczyk 2018-02-26 11:24:07 +01:00 committed by GitHub
commit b9e836c7b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Ensure GOBIN is not set during build so that promu is installed to the correct path
unexport GOBIN
GO ?= go
GOFMT ?= $(GO)fmt
FIRST_GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH)))