summaryrefslogtreecommitdiff
path: root/bin/filter-build-logs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/filter-build-logs')
-rwxr-xr-xbin/filter-build-logs9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/filter-build-logs b/bin/filter-build-logs
index 263054a..398b0e8 100755
--- a/bin/filter-build-logs
+++ b/bin/filter-build-logs
@@ -25,12 +25,11 @@
'type' \
'message'
printf '</tr>\n'
- find "${build_log_directory}/success" -maxdepth 1 \( \
- -name '*.pkg.tar.xz-namcap.log.gz' \
- -o -name '*.pkg.tar.zst-namcap.log.gz' \
- \) -execdir zcat {} \; | \
+ find "${build_log_directory}/success" -maxdepth 1 \
+ -regex '.*\.pkg\.\('"${package_compression_suffix_regex}"'\)-namcap\.log\.gz' \
+ -execdir zcat {} \; | \
sed '
- /^Checking \(PKGBUILD\|\S\+\(-[^-]\+\)\{3\}\.pkg\.tar\.\(xz\|zst\)\)$/d
+ /^Checking \(PKGBUILD\|\S\+\(-[^-]\+\)\{3\}\.pkg\.\('"${package_compression_suffix_regex}"'\)\)$/d
/ on your system is a testing release$/d
s/^PKGBUILD\s\+(\([^) ]\+\))\s\+/\1 /
s/^./\0 /