Message ID | 1257731097.6504.4.camel@palomino.walls.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff -r d2aaff136907 v4l/scripts/check.pl --- a/v4l/scripts/check.pl Thu Nov 05 19:51:24 2009 -0500 +++ b/v4l/scripts/check.pl Sun Nov 08 20:40:06 2009 -0500 @@ -56,11 +56,13 @@ } close IN; -my $intree_checkpatch = "scripts/checkpatch.pl --no-tree --strict"; +my $intree_checkpatch = "scripts/checkpatch.pl --version "; if (!open IN,"$intree_checkpatch|") { $intree_checkpatch = "v4l/".$intree_checkpatch; open IN,"$intree_checkpatch|"; } +$intree_checkpatch =~ s/--version/--no-tree --strict/; + while (<IN>) { tr/A-Z/a-z/; if (m/version\s*:\s*([\d\.]+)/) {