diff --git a/src/scripts/debian.lua b/src/scripts/debian.lua index 27b457b..24ddf8e 100644 --- a/src/scripts/debian.lua +++ b/src/scripts/debian.lua @@ -106,7 +106,7 @@ function s.script(project) -- /usr/bin/${PACKAGE} writeFile("/usr/bin/"..project.package, "#!/bin/sh\n".. - "love "..loveFileDeb.."\n", + "love '"..loveFileDeb:gsub("'", "\\'").."'\n", true ) assert(fs.chmod(tempDir.."/usr/bin/"..project.package, "+x"))