diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-29 07:19:06 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-29 07:19:06 -0300 |
commit | 8178f50745e3f58d2de7196874a86077e51e2d0a (patch) | |
tree | b33ea445532b46c0153289b134661c6ca5adc98c /v4l/scripts | |
parent | 94e2f24ecce195fb81e8da1e809e3537f58dce6a (diff) | |
parent | 1aaedcfcedc4290350ffe058a6f1e7af9319ff3c (diff) | |
download | mediapointer-dvb-s2-8178f50745e3f58d2de7196874a86077e51e2d0a.tar.gz mediapointer-dvb-s2-8178f50745e3f58d2de7196874a86077e51e2d0a.tar.bz2 |
merge: http://linuxtv.org/hg/~mkrufky/cxusb
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-x | v4l/scripts/hghead.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl index 02295bcef..2450ad136 100755 --- a/v4l/scripts/hghead.pl +++ b/v4l/scripts/hghead.pl @@ -91,7 +91,8 @@ while ($line = <IN>) { } if ($tag =~ m/^subject:/) { - $subject="$arg\n"; + $subject = "$arg\n"; + $sub_ok = 1; next; } @@ -136,6 +137,7 @@ while ($line = <IN>) { if ($line =~ m|^(V4L\/DVB\s*\(.+\)\s*:.*\n)|) { $subject=$1; + $sub_ok = 1; $line="\n"; } @@ -147,7 +149,6 @@ while ($line = <IN>) { next; } $sub_ok=1; - substr( $subject, 0, 1 ) = uc (substr ($subject, 0, 1)); if ($subject =~ m|V4L\/DVB\s*(.+)|) { $subject=$1; } @@ -173,7 +174,8 @@ if ($from eq "") { die; } -if (!$maint_ok) { +if (!$maint_ok && $maintainer_name && $maintainer_email) { + print "#No maintainer's signature. Adding it.\n"; $signed=$signed."Signed-off-by: $maintainer_name <$maintainer_email>\n"; } |