Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ex-nerd committed Jan 2, 2006
1 parent c8f2f0c commit 974c8f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trunk/nuv_export/shared_utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ BEGIN {

# Remove tmpfiles
sub wipe_tmpfiles {
foreach my $file (@tmpfiles) {
foreach my $file (reverse sort @tmpfiles) {
if (-d $file) {
rmdir $file;
rmdir $file or warn "Couldn't remove $file: $!\n";
}
elsif (-e $file) {
unlink $file;
unlink $file or warn "Couldn't remove $file: $!\n";
}
}
@tmpfiles = ();
Expand Down

0 comments on commit 974c8f3

Please sign in to comment.