build: Explicitly use bash for shell scripts 14/40214/2
authorTom Jones <thj@freebsd.org>
Thu, 18 Jan 2024 14:51:44 +0000 (14:51 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Fri, 19 Jan 2024 12:30:01 +0000 (12:30 +0000)
commitc3b416c49253bcf3223d2aec8c5ca06f0c78e6f9
tree9502543d041b75820d2137cffe00c74978c7561c
parentca75cd83b51895e94326117cf116c5d25e6c77da
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 <thj@freebsd.org>
19 files changed:
Makefile
build-root/Makefile
build-root/scripts/set-rpath
build/external/Makefile
extras/vagrant/build.sh
extras/vagrant/clearinterfaces.sh
extras/vagrant/install.sh
extras/vagrant/run.sh
extras/vagrant/update.sh
extras/vagrant/vcl_test.sh
src/scripts/generate_version_h
src/scripts/remove-rpath
src/scripts/vnet/dhcp/left-ping-target.sh
test/scripts/compress_failed.sh
test/scripts/run.sh
test/scripts/run_in_venv_with_cleanup.sh
test/scripts/setsid_wrapper.sh
test/scripts/socket_test.sh
test/scripts/test-loop.sh