summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-04-03 20:32:47 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-04-03 20:32:47 +0000
commita5c8c59414552550cbe4f1f6c8324aea55188c51 (patch)
tree80ac08ad26639a5fa16bcc7ecb6ced4f7e57cdf8 /eclass/toolchain.eclass
parentFixed: unnecessary inherit, static-libs installation, added tests. (diff)
downloadgentoo-2-a5c8c59414552550cbe4f1f6c8324aea55188c51.tar.gz
gentoo-2-a5c8c59414552550cbe4f1f6c8324aea55188c51.tar.bz2
gentoo-2-a5c8c59414552550cbe4f1f6c8324aea55188c51.zip
Add -0 to xargs since input is NULL delimited. Thanks to Dror for catching.
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 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