some more bug squashing...
This commit is contained in:
parent
8d8aafde7f
commit
9770daf06f
1 changed files with 4 additions and 4 deletions
|
|
@ -88,9 +88,9 @@ sub open_temp {
|
||||||
|
|
||||||
sub read_temp {
|
sub read_temp {
|
||||||
my $target_name = shift;
|
my $target_name = shift;
|
||||||
open $target, $target_name or die "Couldn't open tempfile: $target_name: $!";
|
open TARGET, $target_name or die "Couldn't open tempfile: $target_name: $!";
|
||||||
@target = <$target>;
|
@target = <TARGET>;
|
||||||
close ($target);
|
close (TARGET);
|
||||||
}
|
}
|
||||||
|
|
||||||
# moves files from the names in one array to the names in another array
|
# moves files from the names in one array to the names in another array
|
||||||
|
|
@ -186,7 +186,7 @@ sub lock {
|
||||||
die "Another mv_wrap process is active in this direcory\n"
|
die "Another mv_wrap process is active in this direcory\n"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
open LOCK, ">.mv_wrap";
|
open LOCK, "> .mv_wrap" or die "Couldn't open .mv_wrap for writing: $?\n";
|
||||||
print LOCK $$;
|
print LOCK $$;
|
||||||
close LOCK;
|
close LOCK;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue