diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-16 21:41:30 +0200 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-16 21:41:30 +0200 |
| commit | f4a0b1388cb77da698ac172039139d6ebd4b10af (patch) | |
| tree | 6a2fb06a910bdfb0f2e1d418b4be8f3fece283d4 /_scripts/generate_atom.lua | |
| parent | ce924721d6548080b9963c94660c5bbea3d611a0 (diff) | |
| download | alpine-mksite-f4a0b1388cb77da698ac172039139d6ebd4b10af.tar.bz2 alpine-mksite-f4a0b1388cb77da698ac172039139d6ebd4b10af.tar.xz | |
use lua-lyaml instead of lua-yaml
it seems to be better maintained upstream
Diffstat (limited to '_scripts/generate_atom.lua')
| -rw-r--r-- | _scripts/generate_atom.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_scripts/generate_atom.lua b/_scripts/generate_atom.lua index d434772..7eed0e5 100644 --- a/_scripts/generate_atom.lua +++ b/_scripts/generate_atom.lua @@ -1,6 +1,6 @@ #!/usr/bin/lua -local yaml = require('yaml') +local lyaml = require('lyaml') local lustache = require('lustache') local function filecontent(filename) @@ -11,7 +11,7 @@ local function filecontent(filename) end template = filecontent(arg[1]) -entries = yaml.load(filecontent(arg[2])) +entries = lyaml.load(filecontent(arg[2])) for k,v in ipairs(entries) do -- timestamps in Atom must conform to RFC 3339 |
