aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-04 11:09:09 +0000
committermerakor <cem@ckyln.com>2021-01-04 11:09:09 +0000
commit3e097e2cecf509fd9590ee90663ff6b4d7791eea (patch)
tree8287639f59bf9a94d4c75362f0866adeb6c03439
parent6ac7969845fe44a5a011e344fcb4d5e0419d5914 (diff)
downloadcpt-3e097e2cecf509fd9590ee90663ff6b4d7791eea.tar.gz
lib.rc: find all .redo directories
FossilOrigin-Name: 2586054342500fb820de12b297f7e93ff242c6f98ebcd19898e13a10aa78e675
-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() {