diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-01 21:27:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-01 21:27:28 +0000 |
commit | dfdc7765f3f0d5b2faf5af60d0764bbf40e5658e (patch) | |
tree | 46d0062c06cd15eaa4696b64cae3bf63dd313f91 /sys-devel | |
parent | Mask =app-shells/tcsh-6.14-r30 before I inject it in the tree (diff) | |
download | gentoo-2-dfdc7765f3f0d5b2faf5af60d0764bbf40e5658e.tar.gz gentoo-2-dfdc7765f3f0d5b2faf5af60d0764bbf40e5658e.tar.bz2 gentoo-2-dfdc7765f3f0d5b2faf5af60d0764bbf40e5658e.zip |
make sure we look for updated binpath in $ROOT as noted by Diego
(Portage version: 2.1.2-r12)
Diffstat (limited to 'sys-devel')
-rwxr-xr-x | sys-devel/binutils-config/files/binutils-config-1.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-devel/binutils-config/files/binutils-config-1.9 b/sys-devel/binutils-config/files/binutils-config-1.9 index d77e364a9759..4c65eb653e55 100755 --- a/sys-devel/binutils-config/files/binutils-config-1.9 +++ b/sys-devel/binutils-config/files/binutils-config-1.9 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.7 2007/02/20 15:18:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.8 2007/03/01 21:27:28 vapier Exp $ # Format of /etc/env.d/binutils/: # config-TARGET: CURRENT=version for TARGET @@ -92,7 +92,7 @@ switch_profile() { # Newer paths: /usr/${HOST}/${TARGET}/... # Older paths: /usr/${TARGET}/... # - if [[ -d /usr/${HOST}/${TARGET}/binutils-bin/${VER} ]] ; then + if [[ -d ${ROOT}/usr/${HOST}/${TARGET}/binutils-bin/${VER} ]] ; then BINPATH=/usr/${HOST}/${TARGET}/binutils-bin/${VER} BINPATH_LINKS=/usr/libexec/gcc/${TARGET} fi @@ -334,7 +334,7 @@ while [[ $# -gt 0 ]] ; do exit 0 ;; -V|--version) - cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.7 2007/02/20 15:18:16 vapier Exp $" + cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.8 2007/03/01 21:27:28 vapier Exp $" cvsver=${cvsver##*binutils-config-} bver=${cvsver%%,v *} cvsver=${cvsver#* } |