aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/vnet/dhcp/left-ping-target.sh
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-01-18 14:51:44 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-01-19 12:30:01 +0000
commitc3b416c49253bcf3223d2aec8c5ca06f0c78e6f9 (patch)
tree9502543d041b75820d2137cffe00c74978c7561c /src/scripts/vnet/dhcp/left-ping-target.sh
parentca75cd83b51895e94326117cf116c5d25e6c77da (diff)
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>
Diffstat (limited to 'src/scripts/vnet/dhcp/left-ping-target.sh')
-rw-r--r--src/scripts/vnet/dhcp/left-ping-target.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/vnet/dhcp/left-ping-target.sh b/src/scripts/vnet/dhcp/left-ping-target.sh
index 2edc2a50eaa..4dab842b819 100644
--- a/src/scripts/vnet/dhcp/left-ping-target.sh
+++ b/src/scripts/vnet/dhcp/left-ping-target.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# to obtain dhcp address from leftpeer
dhclient -d -v eth1