commit: 154c7dc8889e5d7074057e6bf1f9a53d868fc3a4
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jun 1 02:55:21 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 1 21:42:03 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=154c7dc8
isolated-functions.sh: drop the ___is_indexed_array_var() function
For it is no longer used.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/isolated-functions.sh | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index a1ff58816e..e763156656 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -636,16 +636,6 @@ __eqatag() {
) >> "${T}"/qa.log
}
-if [[ BASH_VERSINFO -gt 4 || (BASH_VERSINFO -eq 4 && BASH_VERSINFO[1] -ge 4)
]] ; then
- ___is_indexed_array_var() {
- [[ ${!1@a} == *a* ]]
- }
-else
- ___is_indexed_array_var() {
- [[ $(declare -p "$1" 2>/dev/null) == 'declare -a'* ]]
- }
-fi
-
# debug-print() gets called from many places with verbose status information
useful
# for tracking down problems. The output is in ${T}/eclass-debug.log.
# You can set ECLASS_DEBUG_OUTPUT to redirect the output somewhere else as
well.