From 153758b68e5a9f8f200efb05e558463c589a12ce Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Mon, 1 Jul 2024 13:16:37 +0300 Subject: [PATCH] make should now be able to locate the go executable more easily --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: