Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 839210

Summary: x11-libs/gtk+ automated shellcheck found errors
Product: Gentoo Linux Reporter: shellbugbot <d-shellbug>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description shellbugbot 2022-04-18 11:06:05 UTC
Shellckeck found errors in one or more shellscripts provided by x11-libs/gtk+.

Kindly refer to the findings below and the shellcheck wiki for further details:

------------------------------------------------
script: /usr/portage/x11-libs/gtk+/gtk+-2.24.33.ebuild:284

	if [ -e "${EROOT}"/usr/lib/gtk-2.0/2.[^1]* ]; then
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: -e doesn't work with globs. Use a for loop. (https://github.com/koalaman/shellcheck/wiki/SC2144)

This is an automated bug report. Conservative settings were used to minimize false-positives but there's still a chance that the above list contains non-issues.
Running shellcheck again with default settings could detect other possible issues.

References:
[1] this script: https://github.com/heeplr/gentoo-shellbug
[2] shellcheck: https://www.shellcheck.net/