From 335a31dcf66a648a4814c0328d0d070c3b1954fb Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 9 Sep 2022 13:13:22 -0500 Subject: [PATCH] Hardcode using bash as make's shell On Debian/Ubuntu the default shell is dash, and builds are done with SHELL overridden to dash. Since archlinux-keyring now has Bash-isms in the install and uninstall targets (for {} expansion), and rewriting it to drop this is inconvenient (because we'll have to repeat the path prefixes), hardcode the use of Bash instead. Use /bin/bash to be compatible with distros that have not finished the /bin -> /usr/bin migration yet. Signed-off-by: Michel Alexandre Salim --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 70f65a2..7bbbb75 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SHELL = /bin/bash PREFIX ?= /usr/local BUILD_DIR ?= build KEYRING_TARGET_DIR ?= $(PREFIX)/share/pacman/keyrings/