From fee8e186e3878c6e9827233efde90bc115801aa3 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Tue, 16 Apr 2024 01:16:08 +0200 Subject: GNUmakefile: Simplify the $SHELL nixpkgs does not provide /usr/bin/env, so they had to work around it by specifying just env. Since make(1) accepts program names instead of paths, we can as well use bash directly, which is simpler. Link: Reported-by: Sergei Trofimovich Cc: Mario Rodas Cc: Eli Schwartz Signed-off-by: Alejandro Colomar --- GNUmakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 740121cee..fcc96a364 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -2,9 +2,8 @@ # SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception -BASH := bash -SHELL := /usr/bin/env -.SHELLFLAGS := -S '$(BASH) -Eeuo pipefail -c' +SHELL := bash +.SHELLFLAGS := -Eeuo pipefail -c MAKEFLAGS += --no-builtin-rules -- cgit v1.2.3