From f69fb75f3359b7004a5241c9963aae800456a85e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Mar 2008 22:47:54 +0000 Subject: When dyn_unpack() automatically cleans ${WORKDIR}, also remove things like .unpacked and .compiled so that the state is consistent. svn path=/main/trunk/; revision=9606 --- bin/ebuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 8f22fcab3..cc42e8581 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -649,6 +649,7 @@ dyn_unpack() { fi if [ "${newstuff}" == "yes" ]; then # We don't necessarily have privileges to do a full dyn_clean here. + rm -rf "${PORTAGE_BUILDDIR}"/{.unpacked,.compiled,.tested,.packaged,build-info} rm -rf "${WORKDIR}" if [ -d "${T}" ] && \ ! hasq keeptemp $FEATURES && ! hasq keepwork $FEATURES ; then -- cgit v1.2.3-1-g7c22