commit: 4e2f7063a89cd6ad368706c9a433ce7833aa5b21 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Wed Apr 20 06:13:50 2022 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Wed Apr 20 06:15:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2f7063
sys-devel/binutils-apple-8.2.1-r1: fix clang check #839156 shellcheck pointed out that checking a non-empty string constant to be non-empty always evaluates to true Closes: https://bugs.gentoo.org/839156 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild index 06e3523c934f..b38e12eebe33 100644 --- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild +++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild @@ -335,7 +335,7 @@ install_cctools() { } src_test() { - if ! [ "${EPREFIX}"/usr/bin/clang ] ; then + if ! [[ -x "${EPREFIX}"/usr/bin/clang ]] ; then einfo "Test suite only works properly with clang - please install" return fi