From 5ea137bba6c0e8c5e5e702493ee777322932f7f8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 11 Apr 2020 10:30:51 +0200 Subject: bin/build-packages: find more log files --- bin/build-packages | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin') diff --git a/bin/build-packages b/bin/build-packages index df8faf1..9f0b70e 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -648,10 +648,19 @@ while [ "${count}" -ne 0 ] && \ t s/^See \(\S\+\)\s*$/\1/ t + s/^See ['"'"'`]\([^'"'"'`]\+\)['"'"'`]\(\s.*\)\?$/\1/ + t d ' "${log_file}" | \ while read -r extra_log_file; do grep -HF '' "${build_dir}/${extra_log_file}" || true + if [ -n "${extra_log_file##*/*}" ]; then + find "${build_dir}" \ + -xdev -mindepth 2 \ + -type f -name "${extra_log_file}" \ + -exec grep -HF '' {} + \ + || true + fi done | \ sponge -a "${log_file}" fi -- cgit v1.2.3-70-g09d2