@@ -, +, @@ index --- xt/check_makefile.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/xt/check_makefile.t +++ a/xt/check_makefile.t @@ -26,13 +26,13 @@ use File::Slurp qw( read_file ); use Data::Dumper; my $curdir = File::Spec->curdir(); -my @dirs = `find $curdir -maxdepth 1 -type d`; +my @dirs = `git ls-tree -d --name-only master`; my $makefile = read_file("$curdir/Makefile.PL"); my @missing; for my $d ( sort @dirs ) { chomp $d; - next if $d =~ /\.\/(debian|\.git)$/; - next if $makefile =~ m{'$d('|\/)}xms; + next if $d =~ /^debian$/; + next if $makefile =~ m{'\./$d('|\/)}xms; push @missing, $d; } --