aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/eteHelm-k8s.sh
diff options
context:
space:
mode:
authorGuillaume Lambert <guillaume.lambert@orange.com>2021-03-08 21:38:31 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-24 13:46:51 +0000
commitd9017efa3a08ee06d54654fde87384fc4819b03b (patch)
tree1f3ce8efbe3cb485b8122b607703edc2bed00de5 /kubernetes/robot/eteHelm-k8s.sh
parentfe651c1283fbdd67bd4482727f5b7298d55df9d8 (diff)
[COMMON] Fix some bashisms
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - sleep with suffix - string increments And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d
Diffstat (limited to 'kubernetes/robot/eteHelm-k8s.sh')
-rwxr-xr-xkubernetes/robot/eteHelm-k8s.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/robot/eteHelm-k8s.sh b/kubernetes/robot/eteHelm-k8s.sh
index d5e2fa41c3..8b74da77f8 100755
--- a/kubernetes/robot/eteHelm-k8s.sh
+++ b/kubernetes/robot/eteHelm-k8s.sh
@@ -46,7 +46,7 @@ ETEHOME=/var/opt/ONAP
if [ "${!#}" = "execscript" ]; then
for script in $(ls -1 "$DIR/$SCRIPTDIR"); do
- [ -f "$DIR/$SCRIPTDIR/$script" ] && [ -x "$DIR/$SCRIPTDIR/$script" ] && source "$DIR/$SCRIPTDIR/$script"
+ [ -f "$DIR/$SCRIPTDIR/$script" ] && [ -x "$DIR/$SCRIPTDIR/$script" ] && . "$DIR/$SCRIPTDIR/$script"
done
fi