summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-28 14:20:12 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-28 14:20:12 -0300
commit6b35bbed7973468d128122f6fb01c028c8f55904 (patch)
treeeb035838f917f70ef691256ab26fe2dbb25be609 /v4l/scripts
parentf240359569256bde592be1b5a647a301a1b40a6d (diff)
downloadmediapointer-dvb-s2-6b35bbed7973468d128122f6fb01c028c8f55904.tar.gz
mediapointer-dvb-s2-6b35bbed7973468d128122f6fb01c028c8f55904.tar.bz2
Fix hghead to avoid adding bogus SOB's
From: Mauro Carvalho Chehab <mchehab@infradead.org> As reported by Michael Krufky: > sms1xxx: fix Siano board names > > From: Michael Krufky <mkrufky@linuxtv.org> > > Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> > Signed-off-by: <> > > > I have to "hg export tip > file && nano file {remove last line} && hg rollback && hg revert --all && hg import file" to fix it. > > What went wrong? :-/ Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/hghead.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl
index 14c3d906f..2450ad136 100755
--- a/v4l/scripts/hghead.pl
+++ b/v4l/scripts/hghead.pl
@@ -174,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";
}