summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-30 00:31:01 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-30 00:31:01 +0000
commit0ed7e5ea5cc2dae19e5013a5a79c59ee93702544 (patch)
tree9f322c0612dc41df7bff082eaa618f0989d5e305
parent805edbbd012fbdfb039b4b3a40a29fcb8f6777ad (diff)
downloadportage-0ed7e5ea5cc2dae19e5013a5a79c59ee93702544.tar.gz
portage-0ed7e5ea5cc2dae19e5013a5a79c59ee93702544.tar.bz2
portage-0ed7e5ea5cc2dae19e5013a5a79c59ee93702544.zip
When dyn_unpack() automatically cleans ${WORKDIR}, also remove things
like .unpacked and .compiled so that the state is consistent. (trunk r9606) svn path=/main/branches/2.1.2/; revision=9609
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
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