From 27a1319754cd78001dc7bd91b176168efd73804b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 27 Mar 2009 04:46:46 +0000 Subject: [PATCH] In dyn_unpack(), don't force a new unpack when the ebuild mtime is newer than $WORKDIR, since that may be too touchy. The user can easily call the clean phase explicitly if they really want it. (trunk r13222) svn path=/main/branches/2.1.6/; revision=13223 --- bin/ebuild.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d36c81e0c..04cfe6369 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -655,10 +655,7 @@ dyn_unpack() { break fi done - if [ "${EBUILD}" -nt "${WORKDIR}" ] && ! hasq keepwork ${FEATURES} ; then - vecho ">>> ${EBUILD} has been updated; recreating WORKDIR..." - newstuff="yes" - elif [ ! -f "${PORTAGE_BUILDDIR}/.unpacked" ]; then + if [ ! -f "${PORTAGE_BUILDDIR}/.unpacked" ] ; then vecho ">>> Not marked as unpacked; recreating WORKDIR..." newstuff="yes" fi -- 2.26.2