From c0060443ee63a59317ec4035c79c48a5b765a7bf Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Mon, 1 Apr 2024 15:58:09 +0100 Subject: [PATCH] marked_stow_dir: rename $path to $dir It's always a directory, so make this explicit. --- lib/Stow.pm.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Stow.pm.in b/lib/Stow.pm.in index 8dd0958..82be277 100755 --- a/lib/Stow.pm.in +++ b/lib/Stow.pm.in @@ -678,9 +678,9 @@ sub should_skip_target { # marked_stow_dir() won't work. sub marked_stow_dir { my $self = shift; - my ($path) = @_; - if (-e join_paths($path, ".stow")) { - debug(5, 5, "> $path contained .stow"); + my ($dir) = @_; + if (-e join_paths($dir, ".stow")) { + debug(5, 5, "> $dir contained .stow"); return 1; } return 0;