aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/docker
diff options
context:
space:
mode:
authorGuillaume Lambert <guillaume.lambert@orange.com>2021-03-09 16:56:08 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-04-13 10:04:10 +0000
commit824f996a1607e37fdadb0a930036017fff813baf (patch)
tree7b1adc60a944e3d727c40a7a8d433c89825ee2aa /kubernetes/portal/docker
parent1d64b4dbc585cc850baa6c75078a8237f6e5a550 (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/portal/docker')
-rw-r--r--kubernetes/portal/docker/init/mariadb-client/db_migrate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/portal/docker/init/mariadb-client/db_migrate.sh b/kubernetes/portal/docker/init/mariadb-client/db_migrate.sh
index 8e9ccb4504..6f62a0ebac 100644
--- a/kubernetes/portal/docker/init/mariadb-client/db_migrate.sh
+++ b/kubernetes/portal/docker/init/mariadb-client/db_migrate.sh
@@ -1,3 +1,5 @@
+#!/bin/sh -x
+
# Copyright © 2018 Amdocs, Bell Canada, AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#!/bin/sh -x
SQL_DEST_DIR=${SQL_DEST_DIR:-/tmp/sql}
DB_PORT=${DB_PORT:-3306}