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 6643715808E for ; Tue, 26 Apr 2022 15:32:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C027E07EF; Tue, 26 Apr 2022 15:32:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C4A57E07EF for ; Tue, 26 Apr 2022 15:32:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3001F3414AF for ; Tue, 26 Apr 2022 15:32:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C16E3AF for ; Tue, 26 Apr 2022 15:32:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650987142.30826cad2a5d11d5270122ba4050d4d36b963a50.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/ X-VCS-Repository: repo/gentoo X-VCS-Files: metadata/install-qa-check.d/60libtool-la X-VCS-Directories: metadata/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 30826cad2a5d11d5270122ba4050d4d36b963a50 X-VCS-Branch: master Date: Tue, 26 Apr 2022 15:32:26 +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: 4e5f1d29-ea13-403d-b43b-d1cc911d9f9e X-Archives-Hash: 3abb66300617e9e08939fd781309cfcc commit: 30826cad2a5d11d5270122ba4050d4d36b963a50 Author: Sam James gentoo org> AuthorDate: Tue Apr 26 15:31:42 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 26 15:32:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30826cad metadata/install-qa-check.d: use readarray Otherwise we end up not splitting correctly in the loop over files (file contains two entries). Signed-off-by: Sam James gentoo.org> metadata/install-qa-check.d/60libtool-la | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la index a313f785cad2..bd475b6a016d 100644 --- a/metadata/install-qa-check.d/60libtool-la +++ b/metadata/install-qa-check.d/60libtool-la @@ -8,7 +8,7 @@ libtool_la_check() { fi # Bail out if there aren't any .la files being installed - local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null) + readarray -d '' files < <(find "${ED}"/usr/lib* -name '*.la' -print0) [[ -n "${files[@]}" ]] || return if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then