Bug 26265: (QA follow-up) Remove g option from regex, add few dirs
Adding .git. Using a regex. If we make it a bit smarter, we do not need most dirs listed. Test plan: Run the test again Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f9598240c5
commit
01bee142e6
|
|
@ -30,12 +30,8 @@ my $makefile = read_file("$curdir/Makefile.PL");
|
|||
my @missing;
|
||||
for my $d ( sort @dirs ) {
|
||||
chomp $d;
|
||||
next if $d eq './Koha';
|
||||
next if $d eq './C4';
|
||||
next if $d eq './koha-tmpl';
|
||||
next if $d eq './etc';
|
||||
next if $d eq './debian';
|
||||
next if $makefile =~ m|'$d'|gxms;
|
||||
next if $d =~ /\.\/(debian|\.git)$/;
|
||||
next if $makefile =~ m{'$d('|\/)}xms;
|
||||
push @missing, $d;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue