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

fix #979
This commit is contained in:
Boris Nagaev 2015-11-11 03:32:27 +03:00
parent 16ce867a16
commit 18b8aa1c9c
1 changed files with 1 additions and 1 deletions

View File

@ -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'