diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-22 09:47:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-22 09:47:41 -0300 |
commit | 89ddb8a06ccaa14b09c81e81dbacc4ce70285129 (patch) | |
tree | 98d54c347d5a3771fdb142e3ef8ee0540aa5214c /v4l/scripts/hghead.pl | |
parent | 6413c9eb617e2eebe283211c0422e46bbd7289bb (diff) | |
parent | 189a39592e02ff2f9a387eff92dfc3a3a2e4ddfb (diff) | |
download | mediapointer-dvb-s2-89ddb8a06ccaa14b09c81e81dbacc4ce70285129.tar.gz mediapointer-dvb-s2-89ddb8a06ccaa14b09c81e81dbacc4ce70285129.tar.bz2 |
merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts/hghead.pl')
-rwxr-xr-x | v4l/scripts/hghead.pl | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl index 7dd40380a..dc989dd61 100755 --- a/v4l/scripts/hghead.pl +++ b/v4l/scripts/hghead.pl @@ -1,6 +1,5 @@ #!/usr/bin/perl use strict; -use Date::Parse; ################################################################# # analyse diffs @@ -46,18 +45,13 @@ while ($line = <IN>) { last; } - if ($line =~ m/^# Date\s*(.*)/) { + if ($line =~ m/^#\s*Date\s*(.*)/) { print "#Date: $1\n"; + next; } if ($line =~ m/^Date:\s*(.*)/) { - my $time = str2time($1); - - if ($time) { - print "#Date: $time 0\n"; - } else { - print "#Date: $1\n"; - } + print "#Date: $1\n"; next; } |