summaryrefslogtreecommitdiff
path: root/eclass
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
commitcb35855a4bb2e7c38127b5cc01dbaee197993488 (patch)
tree3a4817abd577c74391054077ebd4d8474c0ca0e3 /eclass
parentVersion bump, resolves #344117 (diff)
downloadhistorical-cb35855a4bb2e7c38127b5cc01dbaee197993488.tar.gz
historical-cb35855a4bb2e7c38127b5cc01dbaee197993488.tar.bz2
historical-cb35855a4bb2e7c38127b5cc01dbaee197993488.zip
pass along ROOT when uninstalling binutils
Diffstat (limited to '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