diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-04-20 08:13:50 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-04-20 08:15:41 +0200 |
commit | 4e2f7063a89cd6ad368706c9a433ce7833aa5b21 (patch) | |
tree | 6110ed1b369de1bf0fbf6c34de82ddabf78178ee /sys-devel/binutils-apple | |
parent | net-im/zoom: Version bump to 5.10.3.2778 (diff) | |
download | gentoo-4e2f7063a89cd6ad368706c9a433ce7833aa5b21.tar.gz gentoo-4e2f7063a89cd6ad368706c9a433ce7833aa5b21.tar.bz2 gentoo-4e2f7063a89cd6ad368706c9a433ce7833aa5b21.zip |
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@gentoo.org>
Diffstat (limited to 'sys-devel/binutils-apple')
-rw-r--r-- | sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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 |