commit: 8d02d2de89b8af6ca4da9f2e8b7cc989822bbf3f
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jul 20 06:25:07 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 22:30:55 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=8d02d2de
isolated-functions.sh: mute an SC2034 warning regarding PORTAGE_COLOR_HILITE
Presently, shellcheck warns that the 'PORTAGE_COLOR_HILITE' variable
appears to be unused. Prevent it from doing so.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/isolated-functions.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 08e7a326fb..bd701ad011 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -391,6 +391,7 @@ __set_colors() {
# Now, ${ENDCOL} will move us to the end of the
# column; regardless of character width
ENDCOL=$'\e[A\e['$(( COLS - 8 ))'C'
+ # shellcheck disable=2034
if [[ ${PORTAGE_COLORMAP} ]]; then
# The PORTAGE_COLORMAP environment variable is defined by the
# doebuild.py unit and is intended to be evaluated as code.