summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-12 07:04:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-12 07:04:17 -0300
commit883dc7792c9ded24211969d851819da1b01aaca3 (patch)
treeb78c2cff85403f8fab91e953c8d43bc18d5a269b /v4l/scripts
parente1feeb2f6e1f46de3a06565b23587ce5a1b3c79b (diff)
downloadmediapointer-dvb-s2-883dc7792c9ded24211969d851819da1b01aaca3.tar.gz
mediapointer-dvb-s2-883dc7792c9ded24211969d851819da1b01aaca3.tar.bz2
Don't print errors for version checks, since we allow such checks at the out-of-tree buildings
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/check.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/scripts/check.pl b/v4l/scripts/check.pl
index 4958e281b..975041c4a 100755
--- a/v4l/scripts/check.pl
+++ b/v4l/scripts/check.pl
@@ -87,6 +87,10 @@ $pwd =~ s|/[^/]+\n$||;
sub print_err()
{
+ if ($err =~ m/LINUX_VERSION_CODE/) {
+ return;
+ }
+
if ($err) {
printf STDERR "%s/%s: In '%s':\n", $pwd, $file, $errline;
printf STDERR "%s/%s:%d: %s\n", $pwd, $file, $ln_numb, $err;