Permalink
Browse files

prune-buildmaster: Don't try to delete results directory

  • Loading branch information...
bgilbert committed Jun 12, 2017
1 parent cedeab4 commit 2b62f142f5eb1032f635677140a782a7454ef392
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/prune-buildmaster.sh
@@ -20,7 +20,7 @@ find "$1" \
-type f -regex "${1%/}/.*/[0-9].*" -mtime +$RETENTION -exec rm {} \;
# Delete old build results
find "${1%/}/public_html/results" \
find "${1%/}/public_html/results" -mindepth 1 \
-mtime +$RETENTION -delete -o \
-type d -empty -delete

0 comments on commit 2b62f14

Please sign in to comment.