From 48c7ed27d229014f560f0be4d4eda8dab4d1ec7d Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 26 Apr 2022 21:32:22 +0200 Subject: installed-files: Restrict find to regular files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rationale: libtool .la files are regular files, therefore find -type f is more correct in this context. Signed-off-by: Ulrich Müller --- 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. -- cgit v1.2.3-65-gdbad