diff options
Diffstat (limited to 'scripts/documentation-file-ref-check')
| -rwxr-xr-x | scripts/documentation-file-ref-check | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 7187ea5e5149..68083f2f1122 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -94,6 +94,9 @@ while (<IN>) {  	# Makefiles and scripts contain nasty expressions to parse docs  	next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/); +	# It doesn't make sense to parse hidden files +	next if ($f =~ m#/\.#); +  	# Skip this script  	next if ($f eq $scriptname); @@ -144,6 +147,7 @@ while (<IN>) {  		if ($f =~ m/tools/) {  			my $path = $f;  			$path =~ s,(.*)/.*,$1,; +			$path =~ s,testing/selftests/bpf,bpf/bpftool,;  			next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref"));  		} |