Skip to content

Commit

Permalink
fix make error of ${BASE} dir not found
Browse files Browse the repository at this point in the history
  • Loading branch information
zshi-redhat authored and ahalimx86 committed Feb 4, 2019
1 parent 8ede7c3 commit a87cb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GOPATH=$(CURDIR)/.gopath
GOBIN=$(CURDIR)/bin
BUILDDIR=$(CURDIR)/build
BASE=$(GOPATH)/src/$(REPO_PATH)
GOFILES = $(shell cd $(BASE) && find . -name *.go | grep -vE "(vendor)|(_test.go)")
GOFILES = $(shell find . -name *.go | grep -vE "(\/vendor\/)|(_test.go)")
PKGS = $(or $(PKG),$(shell cd $(BASE) && env GOPATH=$(GOPATH) $(GO) list ./... | grep -v "^$(PACKAGE)/vendor/"))
TESTPKGS = $(shell env GOPATH=$(GOPATH) $(GO) list -f '{{ if or .TestGoFiles .XTestGoFiles }}{{ .ImportPath }}{{ end }}' $(PKGS))

Expand Down

0 comments on commit a87cb21

Please sign in to comment.