diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-08 09:13:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-08 09:13:23 -0300 |
commit | dcaada6bad779f81742d07b0279ddae9bf4f136c (patch) | |
tree | 47f037f92700745383a2a314fcc15f45393d4e09 /v4l/scripts | |
parent | 02e4a810677e35f1776558db988bc728f2fa3af5 (diff) | |
download | mediapointer-dvb-s2-dcaada6bad779f81742d07b0279ddae9bf4f136c.tar.gz mediapointer-dvb-s2-dcaada6bad779f81742d07b0279ddae9bf4f136c.tar.bz2 |
hghead.pl: Fix script to avoid parsing errors
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Driver were searching for "Index" on any part of the text, causing troubles
when committing a few patches.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-x | v4l/scripts/hghead.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl index 9a6389311..1eb7355c4 100755 --- a/v4l/scripts/hghead.pl +++ b/v4l/scripts/hghead.pl @@ -25,7 +25,7 @@ my $fromname=""; open IN, "<$in"; while ($line = <IN>) { - if ($line =~ m/Index.*/) { + if ($line =~ m/^\s*Index.*/) { last; } if ($line =~ m/^diff .*/) { |