summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-02 06:37:28 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-02 06:37:28 +0000
commit3df811a145d56683cfbcf0f79ba362fec6bff8ab (patch)
treee7ebcc637b6b030dc11019045e49314819b1f921 /eclass/toolchain-binutils.eclass
parentVersion bump, resolves #344117 (diff)
downloadgentoo-2-3df811a145d56683cfbcf0f79ba362fec6bff8ab.tar.gz
gentoo-2-3df811a145d56683cfbcf0f79ba362fec6bff8ab.tar.bz2
gentoo-2-3df811a145d56683cfbcf0f79ba362fec6bff8ab.zip
pass along ROOT when uninstalling binutils
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass4
1 files changed, 2 insertions, 2 deletions
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 <toolchain@gentoo.org>
#
@@ -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