From e2579c5fa6c9b0d91c4bb64cc81f4a4b407d8339 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 28 May 2025 23:34:29 +0200 Subject: [PATCH] MT#62763 Fix shellcheck issues Warned-by: shellcheck Change-Id: I9905ce2d441ee0a2ced22c3247bf52a79d4cdd14 --- ngcp-system-tests | 3 ++- sbin/ngcp-mysql-compare-dbs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ngcp-system-tests b/ngcp-system-tests index 1d43683..860ed93 100755 --- a/ngcp-system-tests +++ b/ngcp-system-tests @@ -3,7 +3,8 @@ set -e set -E -declare -r ME="$(basename "$0")" +ME="$(basename "$0")" +declare -r ME declare -r OPTS=("$@") declare -a PROVE_OPTS=() NGCP_TESTS_MODE=${NGCP_TESTS_MODE:=prove} diff --git a/sbin/ngcp-mysql-compare-dbs b/sbin/ngcp-mysql-compare-dbs index a9b13ca..d255893 100755 --- a/sbin/ngcp-mysql-compare-dbs +++ b/sbin/ngcp-mysql-compare-dbs @@ -55,6 +55,7 @@ if [[ ! -r "${NGCP_ROLES}" ]]; then echo "Cannot read mandatory config file ${NGCP_ROLES}" 2>&1 exit 1 fi +# shellcheck disable=SC1090 . "${NGCP_ROLES}" MYSQL_CREDENTIALS='/etc/mysql/sipwise_extra.cnf'