From 106e94c5e889de8a53abe899e46507fdeac8925b Mon Sep 17 00:00:00 2001 From: yaacov Date: Sun, 24 Dec 2017 16:54:15 +0200 Subject: [PATCH] get binpath in makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index df52eb1..f07581a 100644 --- a/Makefile +++ b/Makefile @@ -45,4 +45,4 @@ install: fmt mohawk .PHONY: vendor vendor: [ -d ${GOPATH}/src/github.com/LK4D4/vndr ] || go get -u -v github.com/LK4D4/vndr - [ -d ${GOPATH}/src/github.com/MohawkTSDB/mohawk/vendor ] || ${GOPATH}/bin/vndr + [ -d ${GOPATH}/src/github.com/MohawkTSDB/mohawk/vendor ] || $(shell echo ${GOPATH} | cut -d: -f1 -)/bin/vndr