diff options
author | 2011-12-06 22:12:41 +0000 | |
---|---|---|
committer | 2011-12-06 22:12:41 +0000 | |
commit | d13f9012651a08d48517d6dc855e68f5ab57079c (patch) | |
tree | d0703594dc5baf0fe82335879de457e73195ba86 /eclass | |
parent | Add fix from upstream for socket setup, and add USE flags to control shared m... (diff) | |
download | historical-d13f9012651a08d48517d6dc855e68f5ab57079c.tar.gz historical-d13f9012651a08d48517d6dc855e68f5ab57079c.tar.bz2 historical-d13f9012651a08d48517d6dc855e68f5ab57079c.zip |
send `chown root` output to /dev/null so that we dont dump a lot of crap when test installing as non-root (e.g. ebuild ... install)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 30daa3a58641..e3ef9914b794 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.504 2011/12/06 21:30:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.505 2011/12/06 22:12:41 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1542,9 +1542,10 @@ toolchain_src_install() { doexe "${GCC_FILESDIR}"/c{89,99} || die fi - # use gid of 0 because some stupid ports don't have - # the group 'root' set to gid 0 - chown -R root:0 "${D}"${LIBPATH} + # Use gid of 0 because some stupid ports don't have + # the group 'root' set to gid 0. Send to /dev/null + # for people who are testing as non-root. + chown -R root:0 "${D}"${LIBPATH} 2>/dev/null # Move pretty-printers to gdb datadir to shut ldconfig up local py gdbdir=/usr/share/gdb/auto-load${LIBPATH/\/lib\//\/$(get_libdir)\/} |