Changeset 25320 for trunk/pstamp/scripts
- Timestamp:
- Sep 10, 2009, 12:00:24 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r25285 r25320 14 14 use PS::IPP::PStamp::Job qw( :standard ); 15 15 use File::Temp qw(tempfile); 16 use File::Basename qw(basename); 16 17 use Carp; 17 18 … … 98 99 99 100 # check for duplicate request name 100 if ( !$no_update) {101 my $command = "$pstamptool -listreq -name $req_name ";101 if ($req_id and !$no_update) { 102 my $command = "$pstamptool -listreq -name $req_name -not_req_id $req_id"; 102 103 $command .= " -dbname $dbname" if $dbname; 103 104 $command .= " -dbserver $dbserver" if $dbserver; … … 110 111 insertFakeJobForRow(undef, 0, $PSTAMP_DUP_REQUEST); 111 112 exit 0; 112 } elsif ($exitStatus ne $PS_EXIT_DATA_ERROR) {113 # wrong error code something else is wrong114 my_die("$command failed", $exitStatus);115 113 } 116 114 } … … 369 367 } 370 368 371 my $output_base = "$out_dir/${rownum}_${job_num}"; 369 my $base = basename($image->{path_base}); 370 371 my $output_base = "$out_dir/${rownum}_${job_num}_${base}"; 372 372 my $argslist = "${output_base}.args"; 373 373
Note:
See TracChangeset
for help on using the changeset viewer.
