From: Hannu Nyman Date: Wed, 4 Feb 2015 17:11:41 +0000 (+0200) Subject: zoneinfo2lua.pl to generate shorter copyright messages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F317%2Fhead;p=project%2Fluci.git zoneinfo2lua.pl to generate shorter copyright messages Change zoneinfo2lua.pl to generate the short copyright messages that have been there since https://github.com/openwrt/luci/commit/7a3493b1f7d75a3945279115324cf2ff4da26b7b Also change the advice on line 3 about directory, where this script should be run. Signed-off-by: Hannu Nyman --- diff --git a/build/zoneinfo2lua.pl b/build/zoneinfo2lua.pl index 4a90dae355..d3f0403263 100755 --- a/build/zoneinfo2lua.pl +++ b/build/zoneinfo2lua.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # zoneinfo2lua.pl - Make Lua module from /usr/share/zoneinfo -# Execute from within /usr/share/zoneinfo +# Execute from within root of Luci feed, usually feeds/luci # $Id$ use strict; @@ -51,16 +51,7 @@ open(O, "> $tzdout/tzdata.lua") || die "open($tzdout/tzdata.lua): $!\n"; print STDERR "Writing time zones to $tzdout/tzdata.lua ... "; print O < $tzdout/tzoffset.lua") || die "open($tzdout/tzoffset.lua): $!\n"; print STDERR "Writing time offsets to $tzdout/tzoffset.lua ... "; print O <