From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1393116-garchives=archives.gentoo.org@lists.gentoo.org> 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 C6572158090 for <garchives@archives.gentoo.org>; Thu, 5 May 2022 23:38:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EEF9CE08D3; Thu, 5 May 2022 23:38:36 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9EB3E08D3 for <gentoo-commits@lists.gentoo.org>; Thu, 5 May 2022 23:38:36 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4B213419ED for <gentoo-commits@lists.gentoo.org>; Thu, 5 May 2022 23:38:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8285A452 for <gentoo-commits@lists.gentoo.org>; Thu, 5 May 2022 23:38:33 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1651793884.cc44ecdc302f5ba45b88e92befcebfab692cd931.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: cc44ecdc302f5ba45b88e92befcebfab692cd931 X-VCS-Branch: master Date: Thu, 5 May 2022 23:38:33 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3b7d5be-1547-46af-98bc-25c537bd7cef X-Archives-Hash: 3006c4413cf8c11bad726c506e0b7ffa commit: cc44ecdc302f5ba45b88e92befcebfab692cd931 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu May 5 23:38:04 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 5 23:38:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc44ecdc metadata/install-qa-check.d: fix check for static library in 60libtool-la Thanks-to: Ionen Wolkens <ionen <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> metadata/install-qa-check.d/60libtool-la | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la index 34344890333f..89b93fcfe6aa 100644 --- a/metadata/install-qa-check.d/60libtool-la +++ b/metadata/install-qa-check.d/60libtool-la @@ -25,11 +25,7 @@ libtool_la_check() { local base local bad_files=() for file in "${files[@]}" ; do - dir=$(dirname ${file}) - base=${dir%/} - base=${base%.la} - - if [[ ! -f ${dir}/${base}.a ]] ; then + if [[ ! -f ${file%.la}.a ]] ; then bad_files+=( ${file} ) fi done