Skip to content
Snippets Groups Projects
Commit fe3e4b9c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet
Browse files

scripts/documentation-file-ref-check: don't parse Next/ dir


If one tries to run this script under linux-next, it would
hit lots of false-positives, due to the tree merges that
are stored under the Next/ directory.

So, add a logic to ignore it.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 62be257e
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,9 @@ while (<IN>) { ...@@ -38,6 +38,9 @@ while (<IN>) {
my $f = $1; my $f = $1;
my $ln = $2; my $ln = $2;
# On linux-next, discard the Next/ directory
next if ($f =~ m,^Next/,);
# Makefiles and scripts contain nasty expressions to parse docs # Makefiles and scripts contain nasty expressions to parse docs
next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/); next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment