commit: 99c4d68466e7f6c5f9e927eef423527778653e84
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 12:16:45 2021 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 12:16:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=99c4d684
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 <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 6 ++----
1 file 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"