[PATCH 2/6] GNUmakefile: force-delete tmp before purging __pycache__

1 view
Skip to first unread message

Rob Browning

unread,
Jan 16, 2026, 3:14:49 PMJan 16
to bup-...@googlegroups.com
force-delete tmp first so the __pycache__ removal can't be thwarted by
anything troublesome in tmp.

Signed-off-by: Rob Browning <r...@defaultvalue.org>
Tested-by: Rob Browning <r...@defaultvalue.org>
(cherry picked from commit bef1843f2ff812267362ad18676b6c590c3d0449)
---
GNUmakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index bebb2617..c9db4a74 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -340,6 +340,6 @@ clean: Documentation/clean
${CONFIGURE_DETRITUS} ${CONFIGURE_FILES} ${GENERATED_FILES}
rm -rf $(clean_paths) .pytest_cache
rm -f $(generated_dependencies)
- find . -name __pycache__ -exec rm -rf {} +
if test -e test/tmp; then dev/force-delete test/tmp; fi
+ find . -name __pycache__ -exec rm -rf {} +
dev/configure-sampledata --clean
--
2.47.3

Reply all
Reply to author
Forward
0 new messages