mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
build: adapt zoneinfo2lua.pl to new structure
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
4cb3aed0ca
commit
eb25d532a8
@ -8,7 +8,7 @@ use strict;
|
||||
my %TZ;
|
||||
|
||||
my $tzdin = $ARGV[0] || "/usr/share/zoneinfo";
|
||||
my $tzdout = $ARGV[1] || "./libs/sys/luasrc/sys/zoneinfo";
|
||||
my $tzdout = $ARGV[1] || "./modules/luci-base/luasrc/sys/zoneinfo";
|
||||
|
||||
local $/ = "\012";
|
||||
open( ZTAB, "< $tzdin/zone.tab" ) || die "open($tzdin/zone.tab): $!";
|
||||
|
Loading…
Reference in New Issue
Block a user