Description: handle sequential slashes properly
Author: Niko Tyni <ntyni@debian.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329377
Origin: vendor
Forwarded: no
--- a/lib/File/Find/Rule.pm
+++ b/lib/File/Find/Rule.pm
@@ -557,6 +557,7 @@ sub in {
     my $topdir;
     my $code = 'sub {
         (my $path = $File::Find::name)  =~ s#^(?:\./+)+##;
+        $path = "." if ($path eq ""); # See Debian bug #329377
         my @args = ($_, $File::Find::dir, $path);
         my $maxdepth = $self->{maxdepth};
         my $mindepth = $self->{mindepth};
