Commit 08c6132d authored by Andy Yates's avatar Andy Yates
Browse files

Allow new file to be an empty string

parent c2373ae9
......@@ -464,6 +464,7 @@ sub _decode_sqlite {
}
else {
my $new_file = pop(@splitdirs);
$new_file ||= q{};
my $new_path = File::Spec->catpath($volume, File::Spec->catdir(@splitdirs), $new_file);
if($new_path ne File::Spec->rootdir() && -f $new_path) {
$dbname = $new_path;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment