From: Hannu Nyman Date: Thu, 4 Jun 2026 18:32:48 +0000 (+0300) Subject: build: modify zoneinfo2lua.pl to handle luci-lua-runtime X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=95a2399f9159faa5556701aaecf787b7a8a763c2;p=openwrt-luci.git build: modify zoneinfo2lua.pl to handle luci-lua-runtime Modify zoneinfo2lua.pl script to handle the old lua timezone files that have been moved from luci-base to luci-lua-runtime. (modern LuCI uses ucode based timezone files, so this is a fallback for old lua based apps.) Signed-off-by: Hannu Nyman --- diff --git a/build/zoneinfo2lua.pl b/build/zoneinfo2lua.pl index c996634444..2f30d9f942 100755 --- a/build/zoneinfo2lua.pl +++ b/build/zoneinfo2lua.pl @@ -13,7 +13,7 @@ use strict; my %TZ; my $tzdin = $ARGV[0] || "/usr/share/zoneinfo"; -my $tzdout = $ARGV[1] || "./modules/luci-base/luasrc/sys/zoneinfo"; +my $tzdout = $ARGV[1] || "./modules/luci-lua-runtime/luasrc/sys/zoneinfo"; local $/ = "\012"; open( ZTAB, "< $tzdin/zone.tab" ) || die "open($tzdin/zone.tab): $!";