Changeset 166

Show
Ignore:
Timestamp:
01/19/08 13:43:41 (23 months ago)
Author:
mart
Message:

fixed tempfile creation in gc (orphaned files were left in the
working directory)

Patch from Alessandro Ranellucci.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r165 r166  
     1  - fixed tempfile creation in gc (orphaned files were left in the  
     2    working directory). from Alessandro Ranellucci <aar@cpan.org>. 
     3 
    14  - added the aws_prefix option to configure multiple backup targets 
    25    on a single Amazon account. from Alessandro Ranellucci <aar@cpan.org>. 
  • trunk/lib/Brackup/Target.pm

    r161 r166  
    130130    # referenced ones 
    131131    my %chunks = map {$_ => 1} $self->chunks; 
    132     my $tempfile = tempfile(); 
     132    my $tempfile = +(tempfile())[1]; 
    133133    BACKUP: foreach my $backup ($self->backups) { 
    134134        $self->get_backup($backup->filename, $tempfile);