We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10aa064 commit 1601a94Copy full SHA for 1601a94
src/tools/msvc/Install.pm
@@ -343,8 +343,8 @@ sub GenerateTimezoneFiles
343
my $mf = read_file("src/timezone/Makefile");
344
$mf =~ s{\\\s*[\r\n]+}{}mg;
345
346
- $mf =~ /^TZDATA\s*:?=\s*(.*)$/m
347
- || die "Could not find TZDATA line in timezone makefile\n";
+ $mf =~ /^TZDATAFILES\s*:?=\s*(.*)$/m
+ || die "Could not find TZDATAFILES line in timezone makefile\n";
348
my @tzfiles = split /\s+/, $1;
349
350
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
@@ -359,7 +359,8 @@ sub GenerateTimezoneFiles
359
foreach (@tzfiles)
360
{
361
my $tzfile = $_;
362
- push(@args, "src/timezone/data/$tzfile")
+ $tzfile =~ s|\$\(srcdir\)|src/timezone|;
363
+ push(@args, $tzfile);
364
}
365
366
system(@args);
0 commit comments