summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-04-26 21:32:22 +0200
committerUlrich Müller <ulm@gentoo.org>2022-04-26 21:32:22 +0200
commit48c7ed27d229014f560f0be4d4eda8dab4d1ec7d (patch)
tree8cf87b5c93f102cfaf3f7d10d7fb5082beb5176c
parentebuild-format: LICENSE must not contain variable references (diff)
downloadpolicy-guide-master.tar.gz
policy-guide-master.tar.bz2
policy-guide-master.zip
installed-files: Restrict find to regular filesHEADmaster
Rationale: libtool .la files are regular files, therefore find -type f is more correct in this context. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--installed-files.rst2
1 files changed, 1 insertions, 1 deletions
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.