diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-29 22:47:54 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-29 22:47:54 +0000 |
commit | f69fb75f3359b7004a5241c9963aae800456a85e (patch) | |
tree | 4fd683003e0ea8d82dc622f850439236ce27b6d1 | |
parent | d724a11a0e7abfdff7e918d70207f71a0ecd92e1 (diff) | |
download | portage-f69fb75f3359b7004a5241c9963aae800456a85e.tar.gz portage-f69fb75f3359b7004a5241c9963aae800456a85e.tar.bz2 portage-f69fb75f3359b7004a5241c9963aae800456a85e.zip |
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
-rwxr-xr-x | bin/ebuild.sh | 1 |
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 |