Skip to content

Commit a5a12ce

Browse files
authored
Merge pull request #1019 from vhosakot/set_GOPATH
Check if GOPATH variable is empty in netplugin/Makefile
2 parents 129a23f + 1f9a485 commit a5a12ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ifeq ($(GOPATH),)
2+
$(error GOPATH is not set. Set GOPATH by doing "export GOPATH=<your GOPATH>".)
3+
endif
4+
15
.PHONY: all all-CI build clean default unit-test release tar checks go-version gofmt-src \
26
golint-src govet-src run-build compile-with-docker
37

0 commit comments

Comments
 (0)