Changeset 30489 for trunk/ippScripts/scripts/dist_make_fileset.pl
- Timestamp:
- Feb 3, 2011, 2:51:02 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_make_fileset.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_make_fileset.pl
r28963 r30489 96 96 # make sure that the database info file for this run exists 97 97 my $dbinfo_file = "$dist_dir/dbinfo.$stage.$stage_id.mdc"; 98 if (! -e "$dbinfo_file") {98 if (! $ipprc->file_exists($dbinfo_file) ) { 99 99 &my_die("dbinfo file for dist run $dbinfo_file not found", $dist_id, $dest_id, $PS_EXIT_UNKNOWN_ERROR); 100 100 } … … 103 103 # make sure that the dirinfo file for this run exists 104 104 my $dirinfo_file = "$dist_dir/dirinfo.$stage.$stage_id.mdc"; 105 if (! -e "$dirinfo_file") {105 if (!$ipprc->file_exists($dirinfo_file)) { 106 106 &my_die("dirinfo file for dist run $dirinfo_file not found", $dist_id, $dest_id, $PS_EXIT_UNKNOWN_ERROR); 107 107 } … … 277 277 $command .= " -dbname $dbname" if $dbname; 278 278 279 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 280 run(command => $command, verbose => $verbose); 281 unless ($success) { 282 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 283 print STDERR "Unable to perform $command error_code: $error_code\n"; 279 if (!$no_update) { 280 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 281 run(command => $command, verbose => $verbose); 282 unless ($success) { 283 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 284 print STDERR "Unable to perform $command error_code: $error_code\n"; 285 } 286 } else { 287 print STDERR "skipping $command\n"; 284 288 } 285 289 exit $fault;
Note:
See TracChangeset
for help on using the changeset viewer.
