summaryrefslogtreecommitdiff
path: root/bin/cleanup
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-25 16:15:39 +0100
committerErich Eckner <git@eckner.net>2017-11-25 16:15:39 +0100
commit2243291ce55405ed28b6ece1e905aef4a768a840 (patch)
tree4bb042598e5a62d4fe07442cb2e0c841c43854ca /bin/cleanup
parentf55604e354765f438186cc28df8f77758f1bfea7 (diff)
downloadbuilder-2243291ce55405ed28b6ece1e905aef4a768a840.tar.xz
bin/cleanup: add TODO
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' | \