diff --git a/tools/scripts/cpysearch/Cpy.pm b/tools/scripts/cpysearch/Cpy.pm index 8a7b989057..71b9043fcb 100644 --- a/tools/scripts/cpysearch/Cpy.pm +++ b/tools/scripts/cpysearch/Cpy.pm @@ -82,7 +82,9 @@ die ("Can't find $cpyskip. Please download it from ". unless -f $cpyskip; open SKIP, "<$cpyskip" or die "Error opening $cpyskip."; -our @ignore_globs = map { chomp; glob_to_regex($_) } ; +our @ignore_globs = map { chomp; glob_to_regex($_) } + grep { ! m/^\s*#/ } + ; close SKIP; # list of file extensions to ignore