mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 02:52:20 +00:00
fs.chmod was removed in LuaRocks 3. Fix #63
Thanks to @drmargarido for the bug report and fixes.
This commit is contained in:
@@ -109,7 +109,9 @@ function s.script(project)
|
|||||||
"love '"..loveFileDeb:gsub("'", "\\'").."'\n",
|
"love '"..loveFileDeb:gsub("'", "\\'").."'\n",
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
assert(fs.chmod(tempDir.."/usr/bin/"..project.package, "+x"))
|
-- FIXME: escape this path?
|
||||||
|
assert(fs.set_permissions(tempDir.."/usr/bin/"..project.package),
|
||||||
|
"exec", "all") -- 755
|
||||||
|
|
||||||
-- /usr/share/games/${PACKAGE}/${LOVE_FILE}
|
-- /usr/share/games/${PACKAGE}/${LOVE_FILE}
|
||||||
copyFile(project.releaseDirectory.."/"..script.loveFile, loveFileDeb, true)
|
copyFile(project.releaseDirectory.."/"..script.loveFile, loveFileDeb, true)
|
||||||
|
Reference in New Issue
Block a user