commit:     48dd8c46dd1c8b853c6556cfec56b06682e6d2c3
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Fri Jun 27 05:51:10 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 02:30:21 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=48dd8c46

save-ebuild-env-sh: rectify two SC2086 warnings

Rectify two instances of SC2086 by employing - and quoting - the
${!prefix@} form of expansion.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/save-ebuild-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index 05557356e9..f39c24eb90 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -37,7 +37,7 @@ __save_ebuild_env() (
        SSH_AGENT_PID SSH_AUTH_SOCK STY WINDOW XAUTHORITY
 
        # CCACHE and DISTCC config
-       unset ${!CCACHE_*} ${!DISTCC_*}
+       unset "${!CCACHE_@}" "${!DISTCC_@}"
 
        # There's no need to bloat environment.bz2 with internally defined
        # functions and variables, so filter them out if possible.

Reply via email to