diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-10 10:42:02 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-10 10:42:02 +0000 |
commit | 293bc08952866ac7f9fa41198f881235e033f511 (patch) | |
tree | db2b719ba4f64c1abe03fadfc03cf2e27e1b35a5 /media-gfx | |
parent | USE="static-libs" and punt useless libtool file. (diff) | |
download | gentoo-2-293bc08952866ac7f9fa41198f881235e033f511.tar.gz gentoo-2-293bc08952866ac7f9fa41198f881235e033f511.tar.bz2 gentoo-2-293bc08952866ac7f9fa41198f881235e033f511.zip |
Drop the useless for loop when we can do this by single find. Thanks to Flameeyes for noticing.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild b/media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild index 4549ea6c54ea..55b900b3b2ed 100644 --- a/media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild +++ b/media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild,v 1.4 2011/04/10 10:19:09 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.6.8.5.ebuild,v 1.5 2011/04/10 10:42:02 ssuominen Exp $ EAPI=3 inherit multilib toolchain-funcs versionator @@ -149,8 +149,5 @@ src_install() { find "${ED}" -depth -mindepth 1 -type d -empty -delete fi - local la - for la in `find "${ED}" -name '*.la'`; do - sed -i -e "/^dependency_libs/s:=.*:='':" "${la}" || die - done + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + } |