Browse Source
fix USE_DIAG.log
better log output for diag
pull/57/head
Gorgone
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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 |
|
|
|