scripts: adjust url to Coverity tools
The URL to the Coverity tools download has changed; the old one points to an obsolete version that is not supported anymore. Adjust to point to the correct and supported tools. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9abbb37535
commit
81a541e9f0
@ -116,14 +116,14 @@ update_coverity_tools () {
|
|||||||
cd "$COVERITY_TOOL_BASE"
|
cd "$COVERITY_TOOL_BASE"
|
||||||
|
|
||||||
echo "Checking for new version of coverity build tools..."
|
echo "Checking for new version of coverity build tools..."
|
||||||
wget https://scan.coverity.com/download/linux64 --post-data "token=$COVERITY_TOKEN&project=$PROJNAME&md5=1" -O coverity_tool.md5.new
|
wget https://scan.coverity.com/download/cxx/linux64 --post-data "token=$COVERITY_TOKEN&project=$PROJNAME&md5=1" -O coverity_tool.md5.new
|
||||||
|
|
||||||
if ! cmp -s coverity_tool.md5 coverity_tool.md5.new; then
|
if ! cmp -s coverity_tool.md5 coverity_tool.md5.new; then
|
||||||
# out of date md5 or no md5: download new build tool
|
# out of date md5 or no md5: download new build tool
|
||||||
# blow away the old build tool
|
# blow away the old build tool
|
||||||
echo "Downloading coverity build tools..."
|
echo "Downloading coverity build tools..."
|
||||||
rm -rf coverity_tool coverity_tool.tgz
|
rm -rf coverity_tool coverity_tool.tgz
|
||||||
wget https://scan.coverity.com/download/linux64 --post-data "token=$COVERITY_TOKEN&project=$PROJNAME" -O coverity_tool.tgz
|
wget https://scan.coverity.com/download/cxx/linux64 --post-data "token=$COVERITY_TOKEN&project=$PROJNAME" -O coverity_tool.tgz
|
||||||
if ! (cat coverity_tool.md5.new; echo " coverity_tool.tgz") | md5sum -c --status; then
|
if ! (cat coverity_tool.md5.new; echo " coverity_tool.tgz") | md5sum -c --status; then
|
||||||
echo "Downloaded tarball didn't match md5sum!"
|
echo "Downloaded tarball didn't match md5sum!"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user