summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-28 04:29:52 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-28 04:29:52 +0000
commitc6fea3f178fee479bdddd070213b19c14e15b04f (patch)
treea4dcfd9f2e4f3d0345f23239d872e70b37ad148b /eclass/toolchain.eclass
parentIt's kde-l10n and not kde-i10n. (diff)
downloadhistorical-c6fea3f178fee479bdddd070213b19c14e15b04f.tar.gz
historical-c6fea3f178fee479bdddd070213b19c14e15b04f.tar.bz2
historical-c6fea3f178fee479bdddd070213b19c14e15b04f.zip
use -prune when searching for a dir to delete to avoid harmless warnings about find not being able to descend into the dir
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 99e1f6798a37..cf367ca8ff56 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.382 2009/01/28 02:27:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.383 2009/01/28 04:29:52 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1702,7 +1702,7 @@ gcc-compiler_src_install() {
S=${WORKDIR}/build \
make DESTDIR="${D}" install || die
# Punt some tools which are really only useful while building gcc
- find "${D}" -name install-tools -type d -exec rm -rf "{}" \;
+ find "${D}" -name install-tools -prune -type d -exec rm -rf "{}" \;
# This one comes with binutils
find "${D}" -name libiberty.a -exec rm -f "{}" \;