summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-02-26 07:57:47 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-02-26 07:57:47 +0000
commit7b3b8f6dcab86d183a69294584f1ba56697b09c9 (patch)
treeef5c132be385fd7014b702260edfa5bddb47d439 /scripts/bootstrap.sh
parentzope-r2.initd had a bug that caused a crash. Temp fix. (diff)
downloadgentoo-2-7b3b8f6dcab86d183a69294584f1ba56697b09c9.tar.gz
gentoo-2-7b3b8f6dcab86d183a69294584f1ba56697b09c9.tar.bz2
gentoo-2-7b3b8f6dcab86d183a69294584f1ba56697b09c9.zip
hopefully fix for stage building
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-xscripts/bootstrap.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index bcdb7f0a11a4..6cb05bf81777 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.39 2003/02/24 21:14:51 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.40 2003/02/26 07:57:47 azarah Exp $
# IMPORTANT NOTE:
# This script now accepts an optional argument.
@@ -80,7 +80,8 @@ INVALID_USE="`gawk -v ORIGUSE="${ORIGUSE}" '
print "yes"
}'`"
-if [ "${INVALID_USE}" = "yes" ]
+# Do not do the check for stage build scripts ...
+if [ "$1" = "" ] && [ "${INVALID_USE}" = "yes" ]
then
echo
eerror "You have 'build' or 'bootstrap' in your USE flags! Please"