From d645acf2d199ddedad2de2ccaea2694e7f869e93 Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Wed, 21 Feb 2007 09:27:20 +0000 Subject: [PATCH] -print0 has to go last, otherwise the -type d isn't used --- eclass/emul-libs.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/emul-libs.eclass b/eclass/emul-libs.eclass index ba7e38688418..63cfc8979fad 100644 --- a/eclass/emul-libs.eclass +++ b/eclass/emul-libs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/emul-libs.eclass,v 1.3 2007/02/21 09:19:30 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/emul-libs.eclass,v 1.4 2007/02/21 09:27:20 blubb Exp $ # # Original Author: Simon Stelling @@ -39,7 +39,7 @@ emul-libs_src_install() { done # remove void directories - find "${S}" -depth -print0 -type d | xargs -0 rmdir 2&>/dev/null + find "${S}" -depth -type d -print0 | xargs -0 rmdir 2&>/dev/null cp -pPR "${S}"/* "${D}"/ || die "copying files failed!" } -- 2.26.2