Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cleanup')
-rwxr-xr-xbin/cleanup2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/cleanup b/bin/cleanup
index 1a01683..5177e81 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -39,6 +39,8 @@ fi
# remove logs where package is not broken/locked anymore
+# TODO: be a little more secure on deleting stuff (deleting "a.*" also deletes "a.b.*",
+# so removing logs of "a" will also remove logs of "a.b".
{
find "${build_log_directory}/error" -maxdepth 1 -type f -printf '%f\n' | \