From ef5007007d4def86ae8a5f6b8a158798d11bfdd4 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 24 Aug 2020 08:03:48 +0000 Subject: [PATCH] Bug 26265: Remove g option from regex, add few dirs Content-Type: text/plain; charset=utf-8 Adding .git, bin and docs Test plan: Run the test again Signed-off-by: Marcel de Rooy --- xt/check_makefile.t | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xt/check_makefile.t b/xt/check_makefile.t index 23a8bf3b05..85bdb385c2 100755 --- a/xt/check_makefile.t +++ b/xt/check_makefile.t @@ -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 =~ /\.\/(bin|C4|debian|docs|etc|\.git|Koha|koha-tmpl)$/; + next if $makefile =~ m|'$d'|xms; push @missing, $d; } -- 2.11.0