From d9f5fe8f83a989b00e95ee980a714f0560d19d8a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Jan 2009 04:29:52 +0000 Subject: use -prune when searching for a dir to delete to avoid harmless warnings about find not being able to descend into the dir --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/toolchain.eclass') 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 @@ -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 "{}" \; -- cgit v1.2.3-65-gdbad