Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/filter-build-logs
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-03 13:26:28 +0100
committerErich Eckner <git@eckner.net>2020-01-03 13:26:28 +0100
commit9009a5fec52c5820fc90a68317bcc29cdbb42da1 (patch)
tree7b6282369dfa8cfc3cbd224b9dabf79ca4a5d87a /bin/filter-build-logs
parent089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff)
learn to handle zst, too
Diffstat (limited to 'bin/filter-build-logs')
-rwxr-xr-xbin/filter-build-logs7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/filter-build-logs b/bin/filter-build-logs
index 0a2cbe3..263054a 100755
--- a/bin/filter-build-logs
+++ b/bin/filter-build-logs
@@ -25,9 +25,12 @@
'type' \
'message'
printf '</tr>\n'
- find "${build_log_directory}/success" -maxdepth 1 -name '*.pkg.tar.xz-namcap.log.gz' -execdir zcat {} \; | \
+ find "${build_log_directory}/success" -maxdepth 1 \( \
+ -name '*.pkg.tar.xz-namcap.log.gz' \
+ -o -name '*.pkg.tar.zst-namcap.log.gz' \
+ \) -execdir zcat {} \; | \
sed '
- /^Checking \(PKGBUILD\|\S\+\(-[^-]\+\)\{3\}\.pkg\.tar\.xz\)$/d
+ /^Checking \(PKGBUILD\|\S\+\(-[^-]\+\)\{3\}\.pkg\.tar\.\(xz\|zst\)\)$/d
/ on your system is a testing release$/d
s/^PKGBUILD\s\+(\([^) ]\+\))\s\+/\1 /
s/^./\0 /