summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/.gitignore1
-rw-r--r--src/hub/Makefile3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/hub/.gitignore b/src/hub/.gitignore
index c22e47e..7adb71a 100644
--- a/src/hub/.gitignore
+++ b/src/hub/.gitignore
@@ -1,4 +1,5 @@
/src/github.com
+/src/golang.org
/bin
/pkg
*.a
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 :=