Fix dyn_clean() to properly clean $PORTAGE_BUILDDIR/.configured.
authorZac Medico <zmedico@gentoo.org>
Sat, 9 Aug 2008 23:47:37 +0000 (23:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 9 Aug 2008 23:47:37 +0000 (23:47 -0000)
svn path=/main/trunk/; revision=11377

bin/ebuild.sh

index af65f18a6d774e9419d4cfeca00ddec0db149705..84c928771738858e1b740f632e922485669a9ef4 100755 (executable)
@@ -728,12 +728,9 @@ dyn_clean() {
        fi
 
        if ! hasq keepwork $FEATURES; then
-               rm -rf "${PORTAGE_BUILDDIR}/.exit_status"
-               rm -rf "${PORTAGE_BUILDDIR}/.logid"
-               rm -rf "${PORTAGE_BUILDDIR}/.unpacked"
-               rm -rf "${PORTAGE_BUILDDIR}/.compiled"
-               rm -rf "${PORTAGE_BUILDDIR}/.tested"
-               rm -rf "${PORTAGE_BUILDDIR}/.packaged"
+               rm -f "$PORTAGE_BUILDDIR"/.{exit_status,logid,unpacked} \
+                       "$PORTAGE_BUILDDIR"/.{configured,compiled,tested,packaged}
+
                rm -rf "${PORTAGE_BUILDDIR}/build-info"
                rm -rf "${WORKDIR}"
        fi