net-libs/nghttp2: Minor ebuild improvement
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 18 Apr 2019 18:06:58 +0000 (20:06 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 18 Apr 2019 18:07:30 +0000 (20:07 +0200)
Package-Manager: Portage-2.3.63, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-libs/nghttp2/nghttp2-1.37.0.ebuild
net-libs/nghttp2/nghttp2-1.38.0.ebuild
net-libs/nghttp2/nghttp2-9999.ebuild

index 20f89187f0fbee45816f7745599a071cf1168f2a..f27032d7957e8bebb5f889d4910956bd4e0ecfe4 100644 (file)
@@ -64,5 +64,7 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
-       use static-libs || find "${ED%/}"/usr -name '*.la' -delete
+       if ! use static-libs ; then
+               find "${ED}"/usr -name '*.la' -delete || die
+       fi
 }
index 633fb68774c7e57452d57b8b3c0db0dab7f65553..1979bd70cc2c9c1fb3c9af6628fb5bd4528810a0 100644 (file)
@@ -83,5 +83,7 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
-       use static-libs || find "${ED%/}"/usr -name '*.la' -delete
+       if ! use static-libs ; then
+               find "${ED}"/usr -name '*.la' -delete || die
+       fi
 }
index e5d039fc7180d95ce2a2f28e85ebf0cabeeb8457..0950bfb1def247dc66bccb5cca0b2c81dee93360 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # TODO: Add python support.
@@ -69,5 +69,7 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
-       use static-libs || find "${ED%/}"/usr -name '*.la' -delete
+       if ! use static-libs ; then
+               find "${ED}"/usr -name '*.la' -delete || die
+       fi
 }