diff options
author | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-03-09 16:56:08 +0100 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-04-13 10:04:10 +0000 |
commit | 824f996a1607e37fdadb0a930036017fff813baf (patch) | |
tree | 7b1adc60a944e3d727c40a7a8d433c89825ee2aa /kubernetes/robot/scripts/etescript | |
parent | 1d64b4dbc585cc850baa6c75078a8237f6e5a550 (diff) |
[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 <guillaume.lambert@orange.com>
Change-Id: Ic41fec6ebadd162cecf889f2b119ac82551bd21d
Diffstat (limited to 'kubernetes/robot/scripts/etescript')
-rwxr-xr-x | kubernetes/robot/scripts/etescript/hvves-etescript.sh | 4 | ||||
-rwxr-xr-x | kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/robot/scripts/etescript/hvves-etescript.sh b/kubernetes/robot/scripts/etescript/hvves-etescript.sh index 5d22c4b4fe..b47051f7e2 100755 --- a/kubernetes/robot/scripts/etescript/hvves-etescript.sh +++ b/kubernetes/robot/scripts/etescript/hvves-etescript.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # Copyright © 2019 Nokia # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,8 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/bash - # # Generate HV-VES SSL related certs. # Copy the stuff to HV-VES and Robot pods. diff --git a/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh b/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh index f1d39691bf..19864d438c 100755 --- a/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh +++ b/kubernetes/robot/scripts/etescript/vnfsdk-etescript.sh @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: Apache-2.0 - #!/bin/bash +# SPDX-License-Identifier: Apache-2.0 + # # Create root certificate CA (Certificate Authority) and its private key. # Create the package certificate issued by CA |