diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-09-22 00:24:39 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-09-22 00:24:39 (GMT) |
commit | 5032e43a9db194d43fe82f5f300f279859e74fba (patch) | |
tree | a6b115ad3c5d63b5c24159e2961078ac7cbb7817 | |
parent | 2d32de3d672073e4cafa37af2d9516f911912b78 (diff) |
honor GOROOT variable if set
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,7 +20,11 @@ ## curdir:= $(shell pwd) +ifndef GOROOT GOCMD := GOPATH=$(curdir) go +else +GOCMD := GOPATH=$(curdir) $(GOROOT)/bin/go +endif EXECUTEABLE := rhctl |