diff --git a/Makefile b/Makefile index d18b48b..b53997f 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ ifeq ($(SYSCONFDIR),) SYSCONFDIR := $(PREFIX)/etc endif ifeq ($(GO),) - GO := /usr/bin/go + GO := $(shell type -a -P go | head -n 1) endif build: