aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.rc b/lib.rc
index 1be638a..92dc216 100644
--- a/lib.rc
+++ b/lib.rc
@@ -28,7 +28,7 @@ redo_clean() {
find . -type f \( -name '*.tmp' -o -name '*.did' -o -name '.dep*' -o -name '.target*' \) \
-exec rm -f -- {} +
[ "$DO_BUILT" ] || find . -name '.do_built*' -exec rm -rf -- {} +
- [ "$REDO_BASE" ] || rm -rf -- .redo
+ [ "$REDO_BASE" ] || find . -name .redo -type d -exec rm -rf -- {} +
}
targcheck() {