summaryrefslogtreecommitdiffstats
path: root/tools/build-pkg.lua
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2015-11-11 00:32:27 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2015-11-11 00:32:27 (GMT)
commit18b8aa1c9cd924828fe7a252021b07570c08d0fc (patch)
tree38c44bbcdb02b0b17c762e3d6ae00a7378317d3a /tools/build-pkg.lua
parent16ce867a16bf9acb58cd8da730fc80dfa70e6e8d (diff)
downloadmxe-18b8aa1c9cd924828fe7a252021b07570c08d0fc.zip
mxe-18b8aa1c9cd924828fe7a252021b07570c08d0fc.tar.gz
mxe-18b8aa1c9cd924828fe7a252021b07570c08d0fc.tar.bz2
build-pkg: add EOL after last line in *.list file
fix #979
Diffstat (limited to 'tools/build-pkg.lua')
-rwxr-xr-xtools/build-pkg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua
index d39dec1..f609b6b 100755
--- a/tools/build-pkg.lua
+++ b/tools/build-pkg.lua
@@ -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'