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 B83ED15808E for ; Fri, 29 Apr 2022 11:15:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E38F8E07D8; Fri, 29 Apr 2022 11:15:56 +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 BEEFCE07D8 for ; Fri, 29 Apr 2022 11:15:56 +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 C9EBA34127E for ; Fri, 29 Apr 2022 11:15:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE3943BC for ; Fri, 29 Apr 2022 11:15:53 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1651001542.48c7ed27d229014f560f0be4d4eda8dab4d1ec7d.ulm@gentoo> Subject: [gentoo-commits] proj/policy-guide:master commit in: / X-VCS-Repository: proj/policy-guide X-VCS-Files: installed-files.rst X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 48c7ed27d229014f560f0be4d4eda8dab4d1ec7d X-VCS-Branch: master Date: Fri, 29 Apr 2022 11:15:53 +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: e8e04336-f0e9-42d1-be73-9b978a1a56dc X-Archives-Hash: 95245ad43c22c14e8704bcedd7a26f0c commit: 48c7ed27d229014f560f0be4d4eda8dab4d1ec7d Author: Ulrich Müller gentoo org> AuthorDate: Tue Apr 26 19:32:22 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Apr 26 19:32:22 2022 +0000 URL: https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=48c7ed27 installed-files: Restrict find to regular files Rationale: libtool .la files are regular files, therefore find -type f is more correct in this context. Signed-off-by: Ulrich Müller gentoo.org> installed-files.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installed-files.rst b/installed-files.rst index da6263e..1468288 100644 --- a/installed-files.rst +++ b/installed-files.rst @@ -79,7 +79,7 @@ b. the package is installing static libraries that have additional It is recommended to use the following one-liner to remove .la files:: - find "${ED}" -name '*.la' -delete || die + find "${ED}" -type f -name '*.la' -delete || die *Rationale*: libtool files were historically introduced as an attempt to supplement static library archives with dependent library list.