From b9dc335fb94f47ba43e0a098a96b399546b279b7 Mon Sep 17 00:00:00 2001 From: hangy Date: Tue, 17 Sep 2024 09:55:41 +0200 Subject: [PATCH] refactor: Update Makefile to use dynamic shell path (#10801) Update the `Makefile` to use the dynamic shell path instead of the hardcoded `/bin/bash`. This ensures that the correct shell is used across different environments. Additionally, the environment variable `SHELL` is updated to use the `which` command to locate the path of the bash shell. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e749b576afabb..c33cf08bfe7dd 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ endif # use bash everywhere ! -SHELL := /bin/bash +SHELL := $(shell which bash) # some vars ENV_FILE ?= .env NAME = "ProductOpener"