commit: 343992ab493e616f0c94123b8b219916363244c6
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jun 1 03:04:14 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 1 21:42:02 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=343992ab
Suppress SC2128 warnings for several units
To expand the FUNCNAME shell variable as "${FUNCNAME}" triggers the
SC2128 warning. Suppress it for now.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/eapi7-ver-funcs.sh | 1 +
bin/estrip | 1 +
bin/isolated-functions.sh | 1 +
bin/misc-functions.sh | 2 ++
bin/phase-functions.sh | 1 +
5 files changed, 6 insertions(+)
diff --git a/bin/eapi7-ver-funcs.sh b/bin/eapi7-ver-funcs.sh
index fa61b6cce3..45a8285b70 100644
--- a/bin/eapi7-ver-funcs.sh
+++ b/bin/eapi7-ver-funcs.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# shellcheck disable=SC2128
__eapi7_ver_parse_range() {
local range=${1}
diff --git a/bin/estrip b/bin/estrip
index 136615eaaa..b4145645a3 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# shellcheck disable=SC2128
source "${PORTAGE_BIN_PATH}"/helper-functions.sh || exit 1
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 73a94dac7e..a1ff58816e 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# shellcheck disable=SC2128
source "${PORTAGE_BIN_PATH}/eapi.sh" || exit 1
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index da7ff2da47..9510116c3c 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+# shellcheck disable=SC2128
+
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
index 830ba451cf..9749f65f60 100644
--- a/bin/phase-functions.sh
+++ b/bin/phase-functions.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# shellcheck disable=SC2128
# Hardcoded bash lists are needed for backward compatibility with
# <portage-2.1.4 since they assume that a newly installed version