Browse Source
Update _cmd_build
optimize USE_DIAG.log
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
1 deletions
-
support/functions/_cmd_build
|
|
@ -256,7 +256,8 @@ fi |
|
|
|
#link lastlog |
|
|
|
ln -sf "$ldir/$log_name" "$workdir/lastbuild.log" |
|
|
|
if [ "${USE_vars[USE_DIAG]}" == "USE_DIAG=1" ]; then |
|
|
|
grep -v "^CC\||\|LINK\|STRIP\|+\|^HOST\|^GEN\|___" >"$workdir/USE_DIAG.log" -i "$workdir/lastbuild.log" |
|
|
|
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" |
|
|
|
fi |
|
|
|
|
|
|
|
#EXTRA_COPY_DIR |
|
|
|