From 5032e43a9db194d43fe82f5f300f279859e74fba Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 22 Sep 2016 02:24:39 +0200 Subject: honor GOROOT variable if set 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 -- cgit v0.10.2