Debian: Allows special characters in title

When using spaces in title, the executable in /usr/bin
would silently not load the file and show the default
"no game" screen
This commit is contained in:
Geoffrey Frogeye
2016-05-11 17:34:48 +02:00
parent 65a981bdfc
commit 0e0251840d

View File

@@ -106,7 +106,7 @@ function s.script(project)
-- /usr/bin/${PACKAGE} -- /usr/bin/${PACKAGE}
writeFile("/usr/bin/"..project.package, writeFile("/usr/bin/"..project.package,
"#!/bin/sh\n".. "#!/bin/sh\n"..
"love "..loveFileDeb.."\n", "love '"..loveFileDeb:gsub("'", "\\'").."'\n",
true true
) )
assert(fs.chmod(tempDir.."/usr/bin/"..project.package, "+x")) assert(fs.chmod(tempDir.."/usr/bin/"..project.package, "+x"))