IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29189


Ignore:
Timestamp:
Sep 22, 2010, 8:22:46 AM (16 years ago)
Author:
rhenders
Message:

Honouring save_temps flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/perl/ippToPsps/Batch.pm

    r29187 r29189  
    461461    # run IppToPsps program TODO should not need
    462462    my $success = $self->runProgram($inputFile, $resultsFilePath);
    463     unlink $inputFile;
     463    if (!$self->{_save_temps}) {unlink $inputFile};
    464464
    465465    if ($success) {
     
    480480
    481481    close $resultsFile;
    482     unlink $resultsFile;
     482    if (!$self->{_save_temps}) {unlink $resultsFile};
    483483
    484484    return $success;
Note: See TracChangeset for help on using the changeset viewer.