index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-29 21:23:52 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-29 21:23:52 +0100 |
commit | d048bf03113ba9ea4ccd6ebe067264b233b79184 (patch) | |
tree | 2ee37f518c00a512384013c8a0d0a7ec463f6910 | |
parent | 108bd61d398261a9c8259247eccde8ae6c3ab459 (diff) |
-rwxr-xr-x | bin/filter-build-logs | 20 |
diff --git a/bin/filter-build-logs b/bin/filter-build-logs index c139f9b..05b534a 100755 --- a/bin/filter-build-logs +++ b/bin/filter-build-logs @@ -58,3 +58,23 @@ '</html>' } > \ "${webserver_directory}/namcap-outputs.html" + +{ + printf '%s\n' \ + '<html>' \ + '<head>' \ + '<title>packages with text relocations</title>' \ + '</head>' \ + '<body>' + find "${webserver_directory}/build-logs/success" -name '*-namcap.log.gz' \ + -exec zgrep -q '^[+*].*\sELF file (.*) has text relocations\.$' '{}' \; \ + -printf '%f\n' | \ + sort | \ + sed ' + s|-namcap\.log\.gz$|<br>| + ' + printf '%s\n' \ + '</body>' \ + '</html>' +} > \ + "${webserver_directory}/text-relocations-packages.html" |