1 |
commit: 48c7ed27d229014f560f0be4d4eda8dab4d1ec7d |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 19:32:22 2022 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 19:32:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=48c7ed27 |
7 |
|
8 |
installed-files: Restrict find to regular files |
9 |
|
10 |
Rationale: libtool .la files are regular files, therefore find -type f |
11 |
is more correct in this context. |
12 |
|
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
installed-files.rst | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/installed-files.rst b/installed-files.rst |
19 |
index da6263e..1468288 100644 |
20 |
--- a/installed-files.rst |
21 |
+++ b/installed-files.rst |
22 |
@@ -79,7 +79,7 @@ b. the package is installing static libraries that have additional |
23 |
|
24 |
It is recommended to use the following one-liner to remove .la files:: |
25 |
|
26 |
- find "${ED}" -name '*.la' -delete || die |
27 |
+ find "${ED}" -type f -name '*.la' -delete || die |
28 |
|
29 |
*Rationale*: libtool files were historically introduced as an attempt |
30 |
to supplement static library archives with dependent library list. |