Merge "run_static_analysis.sh: fix scan-build archive path" into main

This commit is contained in:
James Zern 2022-06-16 17:27:52 +00:00 committed by Gerrit Code Review
commit 8895f8a345

View File

@ -85,10 +85,10 @@ scan_build make -j4
index="$(find "${OUTPUT_DIR}" -name index.html)" index="$(find "${OUTPUT_DIR}" -name index.html)"
if [[ -f "${index}" ]]; then if [[ -f "${index}" ]]; then
mv "$(dirname "${index}")/"* . mv "$(dirname "${index}")/"* "${OUTPUT_DIR}"
else else
# make a empty report to wipe out any old bug reports. # make a empty report to wipe out any old bug reports.
cat << EOT > index.html cat << EOT > "${OUTPUT_DIR}/index.html"
<html> <html>
<body> <body>
No bugs reported. No bugs reported.