diff --git a/releng.control/cleanupArtifacts.sh b/releng.control/cleanupArtifacts.sh index 327090693377bd314fe25c0e6ebc1c7c91d94925..bfe521bbf485aa5b54ade8ee5059d16133d38119 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";