mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 05:08:21 +01:00
run_static_analysis.sh: fix scan-build archive path
move any error reports to the top-level of OUTPUT_DIR rather than BUILD_DIR Change-Id: Icb6677c42a89ef86d9d295a27b79a8a591672b87
This commit is contained in:
parent
5ecee06f7a
commit
7bd07f3b5d
@ -85,10 +85,10 @@ scan_build make -j4
|
||||
|
||||
index="$(find "${OUTPUT_DIR}" -name index.html)"
|
||||
if [[ -f "${index}" ]]; then
|
||||
mv "$(dirname "${index}")/"* .
|
||||
mv "$(dirname "${index}")/"* "${OUTPUT_DIR}"
|
||||
else
|
||||
# make a empty report to wipe out any old bug reports.
|
||||
cat << EOT > index.html
|
||||
cat << EOT > "${OUTPUT_DIR}/index.html"
|
||||
<html>
|
||||
<body>
|
||||
No bugs reported.
|
||||
|
Loading…
Reference in New Issue
Block a user