File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 88use File::Basename;
99
1010my $coverity_project = " Open+MPI" ;
11+ # Coverity changes this URL periodically
12+ my $coverity_tool_url = " https://scan.coverity.com/download/cxx/linux64" ;
1113
1214my $filename_arg ;
1315my $coverity_token_arg ;
@@ -103,7 +105,7 @@ sub safe_system {
103105my $now = time ();
104106if (!defined ($mtime ) || $mtime < $now - 24*60*60) {
105107 verbose " *** Downloading new copy of the coverity tool\n " ;
106- safe_system(0, " wget https://scan.coverity.com/download/linux-64 --post-data \" token=$coverity_token_arg \& project=$coverity_project \" -O coverity_tool.tgz" );
108+ safe_system(0, " wget $coverity_tool_url --post-data \" token=$coverity_token_arg \& project=$coverity_project \" -O coverity_tool.tgz" );
107109 safe_system(0, " cp coverity_tool.tgz $cdir " );
108110}
109111
Original file line number Diff line number Diff line change 88use File::Basename;
99
1010my $coverity_project = " open-mpi%2Fpmix" ;
11+ # Coverity changes this URL periodically
12+ my $coverity_tool_url = " https://scan.coverity.com/download/cxx/linux64" ;
1113
1214my $filename_arg ;
1315my $coverity_token_arg ;
@@ -103,7 +105,7 @@ sub safe_system {
103105my $now = time ();
104106if (!defined ($mtime ) || $mtime < $now - 24*60*60) {
105107 verbose " *** Downloading new copy of the coverity tool\n " ;
106- safe_system(0, " wget https://scan.coverity.com/download/linux-64 --post-data \" token=$coverity_token_arg \& project=$coverity_project \" -O coverity_tool.tgz" );
108+ safe_system(0, " wget $coverity_tool_url --post-data \" token=$coverity_token_arg \& project=$coverity_project \" -O coverity_tool.tgz" );
107109 safe_system(0, " cp coverity_tool.tgz $cdir " );
108110}
109111
You can’t perform that action at this time.
0 commit comments