From c3b416c49253bcf3223d2aec8c5ca06f0c78e6f9 Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Thu, 18 Jan 2024 14:51:44 +0000 Subject: build: Explicitly use bash for shell scripts VPP requires bash for all shell scripts. Align shebang lines in build and test scripts to look up the location of bash rather than hard coding '/bin/bash'. Look up the location of bash for makefiles. Type: improvement Change-Id: I23b705d81d60389fa8af61c680cf0abd74f0ea24 Signed-off-by: Tom Jones --- build/external/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/external/Makefile b/build/external/Makefile index 1e1f5da1d1f..a445d7b21ee 100644 --- a/build/external/Makefile +++ b/build/external/Makefile @@ -12,7 +12,7 @@ # limitations under the License. # Scripts require non-POSIX parts of bash -SHELL := /bin/bash +SHELL := $(shell which bash) DL_CACHE_DIR = $(HOME)/Downloads MAKE ?= make -- cgit 1.2.3-korg