build-pkg: add EOL after last line in *.list file

fix #979
pull/980/head
Boris Nagaev 9 years ago
parent 16ce867a16
commit 18b8aa1c9c

@ -432,7 +432,7 @@ local function makePackage(name, files, deps, ver, d1, d2, dst)
protectVersion(ver))
-- make .list file
local list_path = ('%s/%s.list'):format(dst, name)
writeFile(list_path, table.concat(files, "\n"))
writeFile(list_path, table.concat(files, "\n") .. "\n")
-- make .tar.xz file
local tar_name = dirname .. '.tar.xz'
local cmd = '%s -T %s --owner=root --group=root -cJf %s'

Loading…
Cancel
Save