From 9d9feb647a219af467514116824d80ca608fbf4c Mon Sep 17 00:00:00 2001 From: Russell Treleaven Date: Fri, 5 Sep 2014 07:05:20 -0400 Subject: [PATCH] make the tzfile header check look for "TZif" instead of "TZif2" --- scripts/perl/timezone-gen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/perl/timezone-gen.pl b/scripts/perl/timezone-gen.pl index 682964d77d..281f88556c 100755 --- a/scripts/perl/timezone-gen.pl +++ b/scripts/perl/timezone-gen.pl @@ -55,7 +55,7 @@ foreach my $name ( sort( keys(%name_to_file) ) ) { my $data = join( "", <$in> ); close($in); - if ( $data !~ /^TZif2/o ) { + if ( $data !~ /^TZif/o ) { $debug && print "Skipped $file\n"; next; }