summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-08 09:13:23 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-08 09:13:23 -0300
commitdcaada6bad779f81742d07b0279ddae9bf4f136c (patch)
tree47f037f92700745383a2a314fcc15f45393d4e09 /v4l/scripts
parent02e4a810677e35f1776558db988bc728f2fa3af5 (diff)
downloadmediapointer-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-xv4l/scripts/hghead.pl2
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 .*/) {