fix build with multi-part $GOPATH

This commit is contained in:
Joshua Rubin 2016-05-24 16:50:27 -06:00
parent e1848445f4
commit fd7775e251
No known key found for this signature in database
GPG key ID: 7E86D83E7AD27F82

View file

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