summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-04-03 20:32:47 +0000
committerRyan Hill <rhill@gentoo.org>2010-04-03 20:32:47 +0000
commitad116191364ff64d6661d96e43651d3f85768e1e (patch)
tree297144eb184aff33cdcb65bf914fe05893d18634 /eclass
parentFixed: unnecessary inherit, static-libs installation, added tests. (diff)
downloadhistorical-ad116191364ff64d6661d96e43651d3f85768e1e.tar.gz
historical-ad116191364ff64d6661d96e43651d3f85768e1e.tar.bz2
historical-ad116191364ff64d6661d96e43651d3f85768e1e.zip
Add -0 to xargs since input is NULL delimited. Thanks to Dror for catching.
Diffstat (limited to '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 5d24497397c8..81a330e8ccfa 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.420 2010/03/07 04:37:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.421 2010/04/03 20:32:47 dirtyepic Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1750,7 +1750,7 @@ gcc-compiler_src_install() {
cd "${WORKDIR}"/build
# Do allow symlinks in private gcc include dir as this can break the build
- find gcc/include*/ -type l -print0 | xargs rm -f
+ find gcc/include*/ -type l -print0 | xargs -0 rm -f
# Remove generated headers, as they can cause things to break
# (ncurses, openssl, etc).
for x in $(find gcc/include*/ -name '*.h') ; do