Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839159 - sys-devel/binutils-apple: automated shellcheck found errors
Summary: sys-devel/binutils-apple: automated shellcheck found errors
Status: RESOLVED DUPLICATE of bug 839156
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 10:58 UTC by shellbugbot
Modified: 2022-04-18 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shellbugbot 2022-04-18 10:58:55 UTC
Shellckeck found errors in one or more shellscripts provided by sys-devel/binutils-apple.

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

------------------------------------------------
script: /usr/portage/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild:338

	if ! [ "${EPREFIX}"/usr/bin/clang ] ; then
                           ^^^^^^^^^^^^^^
error: Argument to implicit -n is always true due to literal strings. (https://github.com/koalaman/shellcheck/wiki/SC2157)

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/
Comment 1 shellbugbot 2022-04-18 11:02:17 UTC

*** This bug has been marked as a duplicate of bug 839156 ***