When triggering a fresh unpack inside dyn_unpack(), remove the
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Mar 2009 23:47:49 +0000 (23:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Mar 2009 23:47:49 +0000 (23:47 -0000)
.prepared, .configured and .installed files along with the others.

svn path=/main/trunk/; revision=13146

bin/ebuild.sh

index 1c448c82f2c521d7b87df106f1bf9fae96d2e303..d426e15a9d793fb0cc4157c2e43407b1a562cbff 100755 (executable)
@@ -666,7 +666,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 "${PORTAGE_BUILDDIR}"/{.unpacked,.prepared,.configured,.compiled,.tested,.installed,.packaged,build-info}
                rm -rf "${WORKDIR}"
                if [ -d "${T}" ] && \
                        ! hasq keeptemp $FEATURES && ! hasq keepwork $FEATURES ; then