From 3df811a145d56683cfbcf0f79ba362fec6bff8ab Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 2 Mar 2011 06:37:28 +0000 Subject: pass along ROOT when uninstalling binutils --- eclass/toolchain-binutils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 4afbdadbe105..cddf295d2fa1 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.94 2010/12/09 01:32:33 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.95 2011/03/02 06:37:28 vapier Exp $ # # Maintainer: Toolchain Ninjas # @@ -398,7 +398,7 @@ toolchain-binutils_pkg_postrm() { choice=${choice//$'\n'/ } choice=${choice/* } if [[ -z ${choice} ]] ; then - env -i binutils-config -u ${CTARGET} + env -i ROOT="${ROOT}" binutils-config -u ${CTARGET} else binutils-config ${choice} fi -- cgit v1.2.3-65-gdbad