From 824f996a1607e37fdadb0a930036017fff813baf Mon Sep 17 00:00:00 2001 From: Guillaume Lambert Date: Tue, 9 Mar 2021 16:56:08 +0100 Subject: [COMMON] Fix shell scripts missing shebangs pointed out by checkbashisms. $ tox -e checkbashisms |grep 'interpreter line' | cut -d' ' -f2 |xargs grep -lv '#!/bin/sh' | xargs sed -i -e '1i#!/bin/sh' -e '1i\\' plus manual fixes Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert Change-Id: Ic41fec6ebadd162cecf889f2b119ac82551bd21d --- kubernetes/oof/components/oof-has/resources/config/healthy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kubernetes/oof/components/oof-has/resources/config/healthy.sh') diff --git a/kubernetes/oof/components/oof-has/resources/config/healthy.sh b/kubernetes/oof/components/oof-has/resources/config/healthy.sh index 9f5309b5d5..21296ff22a 100755 --- a/kubernetes/oof/components/oof-has/resources/config/healthy.sh +++ b/kubernetes/oof/components/oof-has/resources/config/healthy.sh @@ -1,3 +1,5 @@ +#!/bin/bash + {{/* # Copyright © 2017 Amdocs, Bell Canada # Modifications Copyright © 2018 AT&T,VMware @@ -13,9 +15,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - */}} -#!/bin/bash + {{/* # Controller is a process that reads from Music Q # It uses no ports (TCP or HTTP). The PROB will check -- cgit 1.2.3-korg