commit:     054a1688662d0e45fe7957f7bb1f908398e64d30
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 16:51:35 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 16:51:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=054a1688

bootstrap-prefix: run rehash after removing tmp again

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

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 535441e..42c01c4 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -2168,14 +2168,14 @@ EOF
                exit 1
        fi
 
-       hash -r  # tmp/* stuff is removed in stage3
-
        if emerge -e system ; then
                # Now, after 'emerge -e system', we can get rid of the 
temporary tools.
                if [[ -d ${EPREFIX}/tmp/var/tmp ]] ; then
                        rm -Rf "${EPREFIX}"/tmp || return 1
                        mkdir -p "${EPREFIX}"/tmp || return 1
                fi
+
+               hash -r  # tmp/* stuff is removed in stage3
        else
                # emerge -e system fail
                cat << EOF

Reply via email to