logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 300196a0d281c5f54ed315efbd536e941ac58d34
parent 7d33f5bb5efaf880096e70da74cfb7e830ee7625
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 22 Jun 2020 00:11:34 -0700

tz: Sort zones to produce stable output

Diffstat:

Mpkg/tz/gen.lua2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/tz/gen.lua b/pkg/tz/gen.lua @@ -22,7 +22,7 @@ local srcs = { local zones = {} local data = load 'data.lua' for _, src in ipairs(srcs) do - for name, target in pairs(data[src]) do + for _, name, target in sortedpairs(data[src]) do if target then target = name:gsub('[^/]+', '..'):sub(1, -3)..target sym('share/zoneinfo/'..name, target)