summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-19 10:11:34 +0200
committerErich Eckner <git@eckner.net>2017-10-19 10:11:34 +0200
commit597a617a06a37e706170c887a52ce824361cda9f (patch)
treefb58a7d0ba4321b18b36f032115494ba5f5e999f /bin
parentc31b0de18b067a141cd8c2b18a90cfbc6cbf78e5 (diff)
downloadbuilder-597a617a06a37e706170c887a52ce824361cda9f.tar.xz
bin/filter-build-logs: now that we have namcap logs, we do not need to filter that much
Diffstat (limited to 'bin')
-rwxr-xr-xbin/filter-build-logs15
1 files changed, 1 insertions, 14 deletions
diff --git a/bin/filter-build-logs b/bin/filter-build-logs
index 54e13d8..48f9aeb 100755
--- a/bin/filter-build-logs
+++ b/bin/filter-build-logs
@@ -20,20 +20,7 @@
'type' \
'message'
printf '</tr>\n'
- find "${build_log_directory}/success" -maxdepth 1 -name '*.build-log.gz' -printf '%p\n' | \
- while read -r log; do
- zcat "${log}" | \
- sed -n '
- /^Checking PKGBUILD$/{
- :a
- $!{
- N
- ba
- }
- p
- }
- '
- done | \
+ find "${build_log_directory}/success" -maxdepth 1 -name '*.pkg.tar.xz-namcap.log.gz' -execdir zcat {} \; | \
sed '
/^Checking \(PKGBUILD\|\S\+\(-[^-]\+\)\{3\}\.pkg\.tar\.xz\)$/d
/ on your system is a testing release$/d