diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-02 06:06:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-02 06:06:27 +0000 |
commit | 751734dfdc8c0f4d1847a1c23c9fa1fefac95911 (patch) | |
tree | f6dd66787fe20babd93d0f04a4d2a5b8ed7a719b /sys-devel | |
parent | version bump (Manifest recommit) (diff) | |
download | gentoo-2-751734dfdc8c0f4d1847a1c23c9fa1fefac95911.tar.gz gentoo-2-751734dfdc8c0f4d1847a1c23c9fa1fefac95911.tar.bz2 gentoo-2-751734dfdc8c0f4d1847a1c23c9fa1fefac95911.zip |
dont fake targets if they have a binutils-config entry
Diffstat (limited to 'sys-devel')
-rwxr-xr-x | sys-devel/binutils-config/files/binutils-config-1.6 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/binutils-config/files/binutils-config-1.6 b/sys-devel/binutils-config/files/binutils-config-1.6 index 6f0cff44c265..d11df19ac4f0 100755 --- a/sys-devel/binutils-config/files/binutils-config-1.6 +++ b/sys-devel/binutils-config/files/binutils-config-1.6 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 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.6,v 1.1 2005/01/02 03:42:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.6,v 1.2 2005/01/02 06:06:27 vapier Exp $ # Format of /etc/env.d/binutils/: # config-TARGET: CURRENT=version for TARGET @@ -73,7 +73,9 @@ switch_profile() { mkdir -p "${ROOT}"/usr/${TARGET}/bin for x in * ; do ln -sf "${BINPATH}/${x}" "${ROOT}"/usr/${TARGET}/bin/${x} + ln -sf ../${TARGET}/bin/${x} "${ROOT}"/usr/bin/${TARGET}-${x} for fake in ${FAKE_TARGETS} ; do + [[ -f ${ENV_D}/config-${fake} ]] && continue ln -sf ../${TARGET}/bin/${x} "${ROOT}"/usr/bin/${fake}-${x} done if [[ ${TARGET} = "${HOST}" ]] ; then |