diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-04-22 11:04:13 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-04-22 11:04:13 +0000 |
commit | 73eb6d60c407b64c062d3093318c76ba6d5d52d1 (patch) | |
tree | bdd5bdd96f533040c31e40ead5160ec5e2ea9869 /eclass/gnome2.eclass | |
parent | Fixes bug 364257 and bug 364237 (diff) | |
download | gentoo-2-73eb6d60c407b64c062d3093318c76ba6d5d52d1.tar.gz gentoo-2-73eb6d60c407b64c062d3093318c76ba6d5d52d1.tar.bz2 gentoo-2-73eb6d60c407b64c062d3093318c76ba6d5d52d1.zip |
Fix la file removal 'find' call to not use GNU find options, and not require EAPI 3
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r-- | eclass/gnome2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 248eb772600a..b241a96ff206 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -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/eclass/gnome2.eclass,v 1.95 2011/04/21 21:27:40 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.96 2011/04/22 11:04:13 nirbheek Exp $ # @ECLASS: gnome2.eclass # @MAINTAINER: @@ -175,7 +175,7 @@ gnome2_src_install() { # Delete all .la files if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then ebegin "Removing .la files" - find "${ED}" -name '*.la' -delete || die "la file removal failed" + find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" eend fi } |