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 <redacted>
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): $!";