IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28994


Ignore:
Timestamp:
Aug 20, 2010, 11:15:54 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/PS-IPP-Config/lib/PS/IPP/Config.pm

    r28153 r28994  
    673673}
    674674
     675# delete existing destreak backup file if it exists
     676sub delete_destreak_backup_file
     677{
     678    my $self = shift;
     679    my $name = shift;
     680    my $force = shift;
     681
     682    my $dir = dirname($name);
     683    my $base = basename($name);
     684    my $backup =  "$dir/SR_$base";
     685
     686    if ($self->file_exists($backup)) {
     687        return $self->file_delete($backup, $force);
     688    }
     689    return 1;
     690}
     691
    675692# redirect stderr and stdout streams to a file
    676693sub redirect_output
Note: See TracChangeset for help on using the changeset viewer.