From: Russell Treleaven Date: Fri, 5 Sep 2014 11:05:20 +0000 (-0400) Subject: make the tzfile header check look for "TZif" instead of "TZif2" X-Git-Tag: v1.4.8~2^2~37^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d9feb647a219af467514116824d80ca608fbf4c;p=thirdparty%2Ffreeswitch.git make the tzfile header check look for "TZif" instead of "TZif2" --- 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; }