commit:     98bc7e59e6ef7e9b84d39e7eb447628967e3931c
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  3 11:16:11 2019 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Tue Dec  3 11:17:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=98bc7e59

bootstrap-prefix.sh: fix cleaning the resume list

Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 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 888b620148..f1f670da9d 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -2047,7 +2047,7 @@ bootstrap_stage3() {
 
        # "wipe" mtimedb such that the resume list is proper after this stage
        # (--depclean may fail, which is ok)
-       sed -i -e 's/resume_backup/cleared/' "${EPREFIX}"/var/cache/edb/mtimedb
+       sed -i -e 's/resume/cleared/' "${ROOT}"/var/cache/edb/mtimedb
 
        einfo "stage3 successfully finished"
 }
@@ -2822,7 +2822,7 @@ EOF
 
        local cmd="emerge -e system"
        if [[ -e ${EPREFIX}/var/cache/edb/mtimedb ]] && \
-               grep -q resume_backup "${EPREFIX}"/var/cache/edb/mtimedb ;
+               grep -q resume "${EPREFIX}"/var/cache/edb/mtimedb ;
        then
                cmd="emerge --resume"
        fi

Reply via email to