commit:     3a4fd1ab5c253a297900f5342b45b534bca7c375
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  8 01:09:48 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 01:47:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3a4fd1ab

s/bootstrap-prefix.sh: stage tools should be used first in stage3.

 scripts/bootstrap-prefix.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 0b9601b..1e5393b 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1364,6 +1364,8 @@ bootstrap_stage3() {
        fi
 
        emerge_pkgs() {
+               # stage3 tools should be used first.
+               DEFAULT_PATH=$(echo "${ROOT}"/{,tmp/}{,usr/}{s,}bin | tr ' ' 
':') \
                EPREFIX="${ROOT}" \
                do_emerge_pkgs "$@"
        }

Reply via email to