summaryrefslogtreecommitdiff
path: root/src/hub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r--src/hub/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hub/Makefile b/src/hub/Makefile
index 91e96cd..9868708 100644
--- a/src/hub/Makefile
+++ b/src/hub/Makefile
@@ -32,6 +32,9 @@
curdir:= $(shell pwd)
GOCMD := GOPATH=$(curdir) go
+ifdef GOROOT
+GOCMD := GOPATH=$(curdir) $(GOROOT)/bin/go
+endif
#TESTFLAG := -test.v
TESTFLAG :=