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
commitd9f5fe8f83a989b00e95ee980a714f0560d19d8a (patch)
treebb610fbcb8565653f621abd6f80b278c0f3969a0 /eclass/toolchain.eclass
parentIt's kde-l10n and not kde-i10n. (diff)
downloadgentoo-2-d9f5fe8f83a989b00e95ee980a714f0560d19d8a.tar.gz
gentoo-2-d9f5fe8f83a989b00e95ee980a714f0560d19d8a.tar.bz2
gentoo-2-d9f5fe8f83a989b00e95ee980a714f0560d19d8a.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 "{}" \;