diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-16 04:30:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-16 04:30:39 +0000 |
commit | 782f7e053354ae816d21a91c84d5901c010d9581 (patch) | |
tree | af5d8e074ea49e256a309b1f5755a1741adac2d8 /scripts | |
parent | use toolchain-funcs.eclass instead of gcc.eclass; bug #92745. (diff) | |
download | gentoo-2-782f7e053354ae816d21a91c84d5901c010d9581.tar.gz gentoo-2-782f7e053354ae816d21a91c84d5901c010d9581.tar.bz2 gentoo-2-782f7e053354ae816d21a91c84d5901c010d9581.zip |
since best_version returns a cat/pkg-ver atom, we need a relational operator #92760
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 7b76967df59e..73bd895bd215 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.73 2005/03/28 01:03:31 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.74 2005/05/16 04:30:39 vapier Exp $ # people who were here: # (drobbins, 06 Jun 2003) @@ -79,7 +79,7 @@ for opt in "$@" ; do --resume|-r) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} --usepkg --buildpkg";; --verbose|-v) STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} -v"; V_ECHO=v_echo;; --version) - cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.73 2005/03/28 01:03:31 wolf31o2 Exp $" + cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.74 2005/05/16 04:30:39 vapier Exp $" cvsver=${cvsver##*,v } einfo "Gentoo ${GENTOO_VERS} bootstrap ${cvsver%%Exp*}" exit 0 @@ -230,7 +230,7 @@ sed 's/[][,]//g; s/ /\n/g; s/\*//g' | while read p; do n=${p##*/}; n=${n%\'}; n=${n%%-[0-9]*}; echo "my$(tr a-z- A-Z_ <<<$n)=$p; "; done) # This stuff should never fail but will if not enough is installed. -[[ -z ${myBASELAYOUT} ]] && myBASELAYOUT="$(portageq best_version / virtual/baselayout)" +[[ -z ${myBASELAYOUT} ]] && myBASELAYOUT=">=$(portageq best_version / virtual/baselayout)" [[ -z ${myPORTAGE} ]] && myPORTAGE="portage" [[ -z ${myBINUTILS} ]] && myBINUTILS="binutils" [[ -z ${myGCC} ]] && myGCC="gcc" |