Fix corner case where only -d is specified as a single directory.
This commit is contained in:
parent
4e831ae7bd
commit
4d6c23600b
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ sub sanitize_path_options {
|
||||||
$options->{target} =~ s/ +\z//;
|
$options->{target} =~ s/ +\z//;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$options->{target} = parent($options->{dir});
|
$options->{target} = parent($options->{dir}) || '.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue