From 713eafb7082a895de2015e9e777baf531ee44b39 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 6 Aug 2025 21:07:07 +0300 Subject: [PATCH] Remove dependency on 'which' --- Makefile | 4 ++-- README.md | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7c8a82e..57d22dc 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BINDIR ?= $(PREFIX)/bin SYSCONFDIR := $(PREFIX)/etc # Compilers and tools -GO ?= $(shell which go) +GO ?= go # Build-time variables ROOT_COMPILATION_UID ?= 65534 @@ -29,4 +29,4 @@ uninstall: clean: rm -r build/ -.PHONY: build \ No newline at end of file +.PHONY: build diff --git a/README.md b/README.md index 25250e1..5813e5b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ BPM is still in very early development. Do not install it without knowing what y - Download `go` from your package manager or from the go website - Download `make` from your package manager -- Download `which` from your package manager - Run the following command to compile the project. You may need to set the `GO` environment variable if your Go installation is not in your PATH ```sh make