summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-11-12 01:38:32 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-11-12 01:38:32 (GMT)
commit4ea8736d167ad049bbe5638566e73e7968aaf7e6 (patch)
tree38c44bbcdb02b0b17c762e3d6ae00a7378317d3a
parent16ce867a16bf9acb58cd8da730fc80dfa70e6e8d (diff)
parent18b8aa1c9cd924828fe7a252021b07570c08d0fc (diff)
downloadmxe-4ea8736d167ad049bbe5638566e73e7968aaf7e6.zip
mxe-4ea8736d167ad049bbe5638566e73e7968aaf7e6.tar.gz
mxe-4ea8736d167ad049bbe5638566e73e7968aaf7e6.tar.bz2
Merge pull request #980 from LuaAndC/build-pkg-eol-for-last-line
build-pkg: add EOL after last line in *.list file
-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'