summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-09 23:47:37 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-09 23:47:37 +0000
commitc946108e7a7145e54ae1c2e65532c4a34f1ddc63 (patch)
treef913b28c7164b1246bfb0b3bb73da01d6237e5c9
parentAdd write_contents() and tar_contents() functions to __all__. (diff)
downloadportage-multirepo-c946108e7a7145e54ae1c2e65532c4a34f1ddc63.tar.gz
portage-multirepo-c946108e7a7145e54ae1c2e65532c4a34f1ddc63.tar.bz2
portage-multirepo-c946108e7a7145e54ae1c2e65532c4a34f1ddc63.zip
Fix dyn_clean() to properly clean $PORTAGE_BUILDDIR/.configured.
svn path=/main/trunk/; revision=11377
-rwxr-xr-xbin/ebuild.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index af65f18a..84c92877 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -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