From 171b29f09d96d794d6b43913f22aa5c8bfff9437 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 28 Dec 2022 15:58:57 +0100 Subject: [PATCH] Makefile: Use path agnostic bash location This patch changes the bash location in the makefile from /bin/bash to /usr/bin/env bash. The latter is a more reproducible location as it is common to more *nix systems which don't contain the former, such as NixOS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a52df02bd..0ca170ddb 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ $(shell mkdir -p "$(initrd_lib_dir)" "$(initrd_bin_dir)") # proceed with the build. # Force pipelines to fail if any of the commands in the pipe fail -SHELL := /bin/bash +SHELL := /usr/bin/env bash .SHELLFLAGS := -o pipefail -c # Include the musl-cross module early so that $(CROSS) will