commit: 48c7ed27d229014f560f0be4d4eda8dab4d1ec7d
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 19:32:22 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <ulm <AT> 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.