summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-04 04:28:44 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-04 04:28:44 +0000
commit60be3188e42bbea9ce64f906af064245f0678559 (patch)
tree688f8c9749283c6837a4d148b3550308ffa08e25 /sys-devel/crossdev
parentfix parallel build (bug #82536) (diff)
downloadgentoo-2-60be3188e42bbea9ce64f906af064245f0678559.tar.gz
gentoo-2-60be3188e42bbea9ce64f906af064245f0678559.tar.bz2
gentoo-2-60be3188e42bbea9ce64f906af064245f0678559.zip
fix --stage# parameters to work
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-xsys-devel/crossdev/files/crossdev4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index b5904d12ef1a..f63e6b4384a1 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -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/sys-devel/crossdev/files/crossdev,v 1.3 2005/03/04 03:27:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.4 2005/03/04 04:28:44 vapier Exp $
source /sbin/functions.sh || exit 1
die() {
@@ -210,8 +210,10 @@ EOPTS="${UOPTS} -u --nodeps"
doemerge binutils
USE=nocxx doemerge gcc gcc-stage1
doemerge linux-headers
+[[ ${STAGE} -gt 1 ]] || exit 0
USE=$TARCH doemerge ${LPKG}
+[[ ${STAGE} -gt 2 ]] || exit 0
if ! type -p ${CTARGET}-g++ > /dev/null ; then
EOPTS="${UOPTS} --nodeps"
fi