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/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/sdnc/components') diff --git a/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh b/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh index 091643f174..8057547b59 100755 --- a/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh +++ b/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh @@ -1,6 +1,6 @@ -{{/* -#/bin/sh +#!/bin/sh +{{/* # Copyright © 2018 Amdocs # # Licensed under the Apache License, Version 2.0 (the "License"); -- cgit 1.2.3-korg