mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-27 18:42: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",
|
||||
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}
|
||||
copyFile(project.releaseDirectory.."/"..script.loveFile, loveFileDeb, true)
|
||||
|
Reference in New Issue
Block a user