Skip to content
Snippets Groups Projects
Commit 84b68953 authored by david_williams's avatar david_williams
Browse files

improve scripts that are deleting patches/index.php

parent 8a121729
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ echo " number of directories before cleaning: ${before}";
# empty directories often result from "bad builds". We remove those no matter how old
find ${artifactsDir} -mindepth 2 -maxdepth 3 -type d -empty -exec rm -fr '{}' \;
# now remove old ones
find ${artifactsDir} -mindepth 2 -maxdepth 2 -ctime +$ndays -execdir ${RELENG_CONTROL}/removeIf.sh '{}' \;
find ${artifactsDir} -mindepth 2 -maxdepth 2 -type d -ctime +$ndays -execdir ${RELENG_CONTROL}/removeIf.sh '{}' \;
after=`find ${artifactsDir} -mindepth 2 -maxdepth 2 | wc -l`;
echo " number of directories after cleaning: ${after}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment