summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-12-30 13:16:45 +0100
committerFabian Groffen <grobian@gentoo.org>2021-12-30 13:16:45 +0100
commit99c4d68466e7f6c5f9e927eef423527778653e84 (patch)
treef8443db18af3ff630e71d3316fc24f6e53d1d5f8
parentstage3: emerge system with default CFLAGS iso empty (diff)
downloadprefix-99c4d684.tar.gz
prefix-99c4d684.tar.bz2
prefix-99c4d684.zip
scripts/bootstrap-prefix: don't use subshell for emerge -u system
we don't have to restore C*FLAGS, this is the end of stage3 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 643d163211..70599da63a 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -2190,10 +2190,8 @@ bootstrap_stage3() {
# Portage should figure out itself what it needs to do, if anything.
einfo "running emerge -uDNv system"
estatus "stage3: emerge -uDNv system"
- (
- unset CFLAGS CXXFLAGS CPPFLAGS
- emerge --color n -uDNv system
- ) || return 1
+ unset CFLAGS CXXFLAGS CPPFLAGS
+ emerge --color n -uDNv system || return 1
# remove anything that we don't need (compilers most likely)
einfo "running emerge --depclean"