marked_stow_dir: rename $path to $dir
It's always a directory, so make this explicit.
This commit is contained in:
parent
caefb641b8
commit
c0060443ee
1 changed files with 3 additions and 3 deletions
|
@ -678,9 +678,9 @@ sub should_skip_target {
|
||||||
# marked_stow_dir() won't work.
|
# marked_stow_dir() won't work.
|
||||||
sub marked_stow_dir {
|
sub marked_stow_dir {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($path) = @_;
|
my ($dir) = @_;
|
||||||
if (-e join_paths($path, ".stow")) {
|
if (-e join_paths($dir, ".stow")) {
|
||||||
debug(5, 5, "> $path contained .stow");
|
debug(5, 5, "> $dir contained .stow");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue