From 8380f802129ca7170c4b9fc50bc45a8a6c2ff7cd Mon Sep 17 00:00:00 2001 From: Gorgone Date: Mon, 19 Oct 2020 22:38:55 +0200 Subject: [PATCH] fix USE_DIAG.log better log output for diag --- support/functions/_cmd_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/functions/_cmd_build b/support/functions/_cmd_build index 20c4947..8b4d8d5 100644 --- a/support/functions/_cmd_build +++ b/support/functions/_cmd_build @@ -256,8 +256,8 @@ fi #link lastlog ln -sf "$ldir/$log_name" "$workdir/lastbuild.log" if [ "${USE_vars[USE_DIAG]}" == "USE_DIAG=1" ]; then - grep -v "^scan-build: R\|^scan-build: U\|^BUILD\|^CONF\|^CC\||\|LINK\|STRIP\|^+\|^HOST\|^GEN\|___" -i "$workdir/lastbuild.log" \ - |sed $'s/ generated./ generated.\\\n\\\n/g' >"$workdir/USE_DIAG.log" + grep -v "^CC\|^GEN\|^CONF\|^BUILD\|STRIP\|LINK\|^+\|^scan-build: R\|^scan-build: U\|HOSTCC\|^|" -i "$workdir/lastbuild.log" \ + |sed $'s/ generated./ generated.\\\n\\\n\\\n/g' >"$workdir/USE_DIAG.log" fi #EXTRA_COPY_DIR