commit:     6071394425dbb0327b53e6188747249daa2f4786
Author:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Fri Apr 22 12:31:10 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 07:24:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60713944

dev-libs/libstrophe: Fix deletion of *.la files

The previous find call didn't delete *.la files, although they were
specified in the find call. This commit fixes this by inserting
parentheses. To further make the call robust, this commit also inserts
the -type f argument.

Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
Closes: https://github.com/gentoo/gentoo/pull/25156
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/libstrophe/libstrophe-0.10.0.ebuild | 2 +-
 dev-libs/libstrophe/libstrophe-0.11.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libstrophe/libstrophe-0.10.0.ebuild 
b/dev-libs/libstrophe/libstrophe-0.10.0.ebuild
index 65e5bcfda6b4..d3f341dcdf59 100644
--- a/dev-libs/libstrophe/libstrophe-0.10.0.ebuild
+++ b/dev-libs/libstrophe/libstrophe-0.10.0.ebuild
@@ -41,7 +41,7 @@ src_compile() {
 src_install() {
        default
        use doc && dodoc -r examples
-       find "${D}" -name '*.la' -o -name '*.a' -delete || die
+       find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die
 }
 
 # Explicit src_test is there to document that the test suite is integrated and

diff --git a/dev-libs/libstrophe/libstrophe-0.11.0.ebuild 
b/dev-libs/libstrophe/libstrophe-0.11.0.ebuild
index ad3d05309f8b..12a6e1084f43 100644
--- a/dev-libs/libstrophe/libstrophe-0.11.0.ebuild
+++ b/dev-libs/libstrophe/libstrophe-0.11.0.ebuild
@@ -44,7 +44,7 @@ src_compile() {
 src_install() {
        default
        use doc && dodoc -r examples
-       find "${D}" -name '*.la' -o -name '*.a' -delete || die
+       find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die
 }
 
 # Explicit src_test is there to document that the test suite is integrated and

Reply via email to