diff options
Diffstat (limited to 'PolygLua.lua')
-rwxr-xr-x | PolygLua.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PolygLua.lua b/PolygLua.lua index ee775eb..727e62c 100755 --- a/PolygLua.lua +++ b/PolygLua.lua | |||
@@ -209,6 +209,8 @@ __ = function(c) | |||
209 | exe.scriptFile = os.tmpname() | 209 | exe.scriptFile = os.tmpname() |
210 | D('Creating temporary script file at ' .. exe.scriptFile) | 210 | D('Creating temporary script file at ' .. exe.scriptFile) |
211 | exe.cmd = exe.cmd .. l:sub(3) .. ' ' .. exe.scriptFile .. ' ; ' | 211 | exe.cmd = exe.cmd .. l:sub(3) .. ' ' .. exe.scriptFile .. ' ; ' |
212 | -- PHP wants this to be executable. | ||
213 | __('chmod u+x ' .. exe.scriptFile) | ||
212 | end | 214 | end |
213 | exe.script = exe.script .. l .. '\n' | 215 | exe.script = exe.script .. l .. '\n' |
214 | else | 216 | else |