summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index af65f18a6..84c928771 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