summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c87c39f..af6efe9 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,11 @@
##
curdir:= $(shell pwd)
+ifndef GOROOT
GOCMD := GOPATH=$(curdir) go
+else
+GOCMD := GOPATH=$(curdir) $(GOROOT)/bin/go
+endif
EXECUTEABLE := rhctl