From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DDAD15808D for ; Wed, 20 Apr 2022 06:15:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEEB4E08F2; Wed, 20 Apr 2022 06:15:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0CE5E08F2 for ; Wed, 20 Apr 2022 06:15:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CAA61341357 for ; Wed, 20 Apr 2022 06:15:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09C04177 for ; Wed, 20 Apr 2022 06:15:44 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1650435341.4e2f7063a89cd6ad368706c9a433ce7833aa5b21.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-apple/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild X-VCS-Directories: sys-devel/binutils-apple/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 4e2f7063a89cd6ad368706c9a433ce7833aa5b21 X-VCS-Branch: master Date: Wed, 20 Apr 2022 06:15:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2cc5a297-9f55-4e75-a4ab-07d04a26dd45 X-Archives-Hash: 8021cc2ee360e36a4640a39015ac44c4 commit: 4e2f7063a89cd6ad368706c9a433ce7833aa5b21 Author: Fabian Groffen gentoo org> AuthorDate: Wed Apr 20 06:13:50 2022 +0000 Commit: Fabian Groffen gentoo 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 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