From b457a61cb2840404c98cd2af2b3c284ff200e63d Mon Sep 17 00:00:00 2001 From: Karthic Rao Date: Wed, 20 Jan 2016 14:46:12 +0530 Subject: [PATCH] Minor changes to Makefile to avoid the make failure when GOPATH/bin is not part of PATH --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 77ab94950..2ee39d326 100644 --- a/Makefile +++ b/Makefile @@ -41,13 +41,13 @@ fmt: lint: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 golint *.go - @GO15VENDOREXPERIMENT=1 golint github.com/minio/minio/pkg... + @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint *.go + @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/golint github.com/minio/minio/pkg... cyclo: @echo "Running $@:" - @GO15VENDOREXPERIMENT=1 gocyclo -over 65 *.go - @GO15VENDOREXPERIMENT=1 gocyclo -over 65 pkg + @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/gocyclo -over 65 *.go + @GO15VENDOREXPERIMENT=1 ${GOPATH}/bin/gocyclo -over 65 pkg build: getdeps verifiers @echo "Installing minio:"