From 05bf7ae846a21df4add80a6b4997ab957fb4b0fe Mon Sep 17 00:00:00 2001 From: "Jeffrey H. Johnson" Date: Fri, 22 Nov 2024 13:28:42 +0000 Subject: [PATCH] Workaround for `getconf` that doesn't support PATH (#443) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 69a60cac..d3ea95ca 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ # Defaults .NOTPARALLEL: -SHELL := $(shell env sh -c 'PATH="$$(command -p getconf PATH)" command -v sh') +SHELL := $(shell env sh -c 'PATH="$$(command -p getconf PATH 2> /dev/null):$${PATH:-/bin:/usr/bin}" command -v sh') BUILDDIR = ./build LOGDIR = ./logs LINTSH = ./.lint.sh