From fd4706f014c6e9f439c7875d30f2272d87703507 Mon Sep 17 00:00:00 2001 From: david_williams <david_williams> Date: Thu, 20 Dec 2007 03:40:47 +0000 Subject: [PATCH] initial cleanup task --- releng.control/cleanupArtifacts.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/releng.control/cleanupArtifacts.sh b/releng.control/cleanupArtifacts.sh index 327090693..bfe521bbf 100644 --- a/releng.control/cleanupArtifacts.sh +++ b/releng.control/cleanupArtifacts.sh @@ -16,6 +16,9 @@ fi # set at 10 days, under assumption that before that time, # artifacts will be "saved" elsewhere, if needed. +# if more cleanup is needed, we should take time, and +# existence of more recent builds into account, so we never +# delete the last existing build (even if "old"). n=10; echo " Removing artifact directories older than $n days"; -- GitLab