summaryrefslogtreecommitdiff
path: root/v4l/scripts/hghead.pl
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/scripts/hghead.pl')
-rwxr-xr-xv4l/scripts/hghead.pl8
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";
}