unstow_node / unstow_existing_node: rename foldable return value
$parent is a bit vague so rename to $parent_in_pkg.
This commit is contained in:
parent
b3ed86d616
commit
bae7890aa5
1 changed files with 4 additions and 4 deletions
|
@ -800,8 +800,8 @@ sub unstow_node {
|
|||
$self->unstow_contents($package, $target_subpath, $pkg_path_from_cwd);
|
||||
|
||||
# This action may have made the parent directory foldable
|
||||
if (my $parent = $self->foldable($target_subpath)) {
|
||||
$self->fold_tree($target_subpath, $parent);
|
||||
if (my $parent_in_pkg = $self->foldable($target_subpath)) {
|
||||
$self->fold_tree($target_subpath, $parent_in_pkg);
|
||||
}
|
||||
}
|
||||
elsif (-e $target_subpath) {
|
||||
|
@ -909,8 +909,8 @@ sub unstow_existing_node {
|
|||
$self->unstow_contents($package, $target_subpath, $source);
|
||||
|
||||
# This action may have made the parent directory foldable
|
||||
if (my $parent = $self->foldable($target_subpath)) {
|
||||
$self->fold_tree($target_subpath, $parent);
|
||||
if (my $parent_in_pkg = $self->foldable($target_subpath)) {
|
||||
$self->fold_tree($target_subpath, $parent_in_pkg);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue