Merge pull request #1657 from joshuarubin/master

fix build with multi-part $GOPATH
pull/1708/head
Björn Rabenstein 2016-06-06 11:35:49 +02:00
commit 2bcf712e29
1 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
GO := GO15VENDOREXPERIMENT=1 go
PROMU := $(GOPATH)/bin/promu
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
GO := GO15VENDOREXPERIMENT=1 go
FIRST_GOPATH := $(firstword $(subst :, ,$(GOPATH)))
PROMU := $(FIRST_GOPATH)/bin/promu
pkgs = $(shell $(GO) list ./... | grep -v /vendor/)
PREFIX ?= $(shell pwd)
BIN_DIR ?= $(shell pwd)