index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-26 14:54:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-26 14:54:24 +0200 |
commit | 646cd78a14c6f821cdb4c30b83d7c00ee9063cc2 (patch) | |
tree | 732102325ac51fe19c5c13f83427371112e23889 /bin/cleanup | |
parent | ecaa8711d57c069a0ff98247d24369247421d56c (diff) |
-rwxr-xr-x | bin/cleanup | 4 |
diff --git a/bin/cleanup b/bin/cleanup index 60e4ca6..1479a9b 100755 --- a/bin/cleanup +++ b/bin/cleanup @@ -78,7 +78,9 @@ find "${build_log_directory}/error" -maxdepth 1 -type f -printf '%f\n' | \ ) # only keep namcap logs of last 2 weeks for succeeded packages -find "${build_log_directory}/success" -maxdepth 1 -type f -mtime +14 -delete +find "${build_log_directory}/success" -maxdepth 1 -type f -mtime +14 \ + -not -exec zgrep -q '^+.*ELF file .* has text relocations' '{}' \; \ + -delete # remove old package meta data delete_old_metadata |