diff options
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-x | sys-devel/crossdev/files/crossdev | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev index f90aeb945b4b..31c4b4b5f51f 100755 --- a/sys-devel/crossdev/files/crossdev +++ b/sys-devel/crossdev/files/crossdev @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.79 2006/11/14 17:04:06 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.80 2006/11/16 21:58:18 vapier Exp $ cd / @@ -109,8 +109,6 @@ parse_target() { bfin*) TARCH=${HARCH}; - BPKG="binutils-bfin"; - GPKG="gcc-bfin"; LPKG="uclibc";; cris*) @@ -493,10 +491,10 @@ set_use() { [[ -z ${use} ]] && return 0 if [[ -f package.use ]] ; then output="package.use" - sed -i -e "/cross-${CTARGET}\/${pkg}/d" ${output} else output="package.use/cross-${CTARGET}" fi + [[ -e ${output} ]] && sed -i -e "/cross-${CTARGET}\/${pkg}/d" ${output} echo "cross-${CTARGET}/${pkg} ${use}" >> ${output} } set_links() { |