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:
Marcel de Rooy 2020-08-24 08:03:48 +00:00 committed by Jonathan Druart
parent f9598240c5
commit 01bee142e6
1 changed files with 2 additions and 6 deletions

View File

@ -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;
}