summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-12-27 18:42:46 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-12-27 18:42:46 +0000
commit8ce3cb6e3fbb2c6854407fbd7ae8d51905fb1dcd (patch)
tree32632e601338406a0af439df7995a13610438750 /scripts/bootstrap.sh
parentversion bump. x86 masked. Fixes #11927 (diff)
downloadgentoo-2-8ce3cb6e3fbb2c6854407fbd7ae8d51905fb1dcd.tar.gz
gentoo-2-8ce3cb6e3fbb2c6854407fbd7ae8d51905fb1dcd.tar.bz2
gentoo-2-8ce3cb6e3fbb2c6854407fbd7ae8d51905fb1dcd.zip
cosmetic changes
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-xscripts/bootstrap.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 44b51289b350..831bbb59438d 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.34 2002/12/16 18:53:51 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.35 2002/12/27 18:42:46 azarah Exp $
MYPROFILEDIR="`readlink -f /etc/make.profile`"
if [ ! -d ${MYPROFILEDIR} ]
@@ -104,10 +104,11 @@ export CONFIG_PROTECT="-*"
# First stage of bootstrap (aka build stage)
#
cd /usr/portage
-emerge $myPORTAGE #separate, so that the next command uses the *new* emerge
-emerge $myBASELAYOUT $myTEXINFO $myGETTEXT $myBINUTILS $myGCC || cleanup 1
+# Separate, so that the next command uses the *new* emerge
+emerge ${myPORTAGE} || cleanup 1
+emerge ${myBASELAYOUT} ${myTEXINFO} ${myGETTEXT} ${myBINUTILS} ${myGCC} || cleanup 1
# make.conf has been overwritten, so we explicitly export our original settings
-export USE="$ORIGUSE bootstrap"
+export USE="${ORIGUSE} bootstrap"
# Basic support for gcc multi version/arch scheme ...
if test -f /usr/sbin/gcc-config &> /dev/null && \
@@ -116,7 +117,7 @@ then
# Make sure we get the old gcc unmerged ...
emerge clean || cleanup 1
# Make sure the profile and /lib/cpp and /usr/bin/cc are valid ...
- /usr/sbin/gcc-config `/usr/sbin/gcc-config --get-current-profile` &> /dev/null
+ /usr/sbin/gcc-config "`/usr/sbin/gcc-config --get-current-profile`" &> /dev/null
fi
#