From 6dc2b58a0af80b45b6ad17283ad3d86f077f7a85 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 6 Jul 2006 21:25:15 +0000 Subject: Remove deprecation messages by using --clean and --prune. Blame ian. --- scripts/bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 49d5c378296a..9a2aaaf17b8a 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -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/scripts/bootstrap.sh,v 1.81 2006/03/20 19:22:21 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.82 2006/07/06 21:25:15 wolf31o2 Exp $ # people who were here: # (drobbins, 06 Jun 2003) @@ -47,7 +47,7 @@ v_echo() { env "$@" } -cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.81 2006/03/20 19:22:21 wolf31o2 Exp $" +cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.82 2006/07/06 21:25:15 wolf31o2 Exp $" cvsver=${cvsver##*,v } cvsver=${cvsver%%Exp*} cvsyear=${cvsver#* } @@ -358,8 +358,8 @@ if [[ -n ${STRAP_RUN} ]] ; then if [[ -x ${GCC_CONFIG} ]] && ${GCC_CONFIG} --get-current-profile &>/dev/null then # Make sure we get the old gcc unmerged ... - emerge clean || cleanup 1 - emerge prune sys-devel/gcc || cleanup 1 + emerge --clean || cleanup 1 + emerge --prune sys-devel/gcc || cleanup 1 # Make sure the profile and /lib/cpp and /usr/bin/cc are valid ... ${GCC_CONFIG} "$(${GCC_CONFIG} --get-current-profile)" &>/dev/null fi -- cgit v1.2.3-65-gdbad