From f15ca10acfcde7dcce60acaab39b13ffcaa50eac Mon Sep 17 00:00:00 2001
From: imrying <philiprying@gmail.com>
Date: Tue, 7 Nov 2023 08:29:47 +0100
Subject: [PATCH] fix(env): change the environment to be /usr/bin/env bash

---
 makefile                             | 2 +-
 tests/extra/tc_ufcs_all_kinds/run.sh | 2 +-
 tests/run_tests.sh                   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/makefile b/makefile
index 74c0b57..90e0587 100644
--- a/makefile
+++ b/makefile
@@ -13,7 +13,7 @@ LDC := ldc2
 DPARSE_DIR := libdparse
 DSYMBOL_DIR := dsymbol
 
-SHELL:=/bin/bash
+SHELL:=/usr/bin/env bash
 
 githash:
 	@mkdir -p bin
diff --git a/tests/extra/tc_ufcs_all_kinds/run.sh b/tests/extra/tc_ufcs_all_kinds/run.sh
index 4c548a4..2c5e79c 100755
--- a/tests/extra/tc_ufcs_all_kinds/run.sh
+++ b/tests/extra/tc_ufcs_all_kinds/run.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 if [ -z "${DC:-}" ]; then
 	DC=dmd
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index aa64ce8..1d4b62b 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 RED="\033[31m"
 GREEN="\033[32m"
 YELLOW="\033[33m"