diff options
Diffstat (limited to 'PolygLua.lua')
-rwxr-xr-x | PolygLua.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PolygLua.lua b/PolygLua.lua index 38e300c..5305872 100755 --- a/PolygLua.lua +++ b/PolygLua.lua | |||
@@ -319,7 +319,7 @@ _.dir = __[[pwd]]:noErr():Do().lines[1] | |||
319 | 319 | ||
320 | 320 | ||
321 | if (arg[0] == './PolygLua.lua') or (arg[0] == 'PolygLua.lua') then | 321 | if (arg[0] == './PolygLua.lua') or (arg[0] == 'PolygLua.lua') then |
322 | local goAway(txt) | 322 | local function goAway(txt) |
323 | local luas = __'ls -d1 /usr/share/lua/*':noErr():Do() | 323 | local luas = __'ls -d1 /usr/share/lua/*':noErr():Do() |
324 | for i,l in ipairs(luas.lines) do | 324 | for i,l in ipairs(luas.lines) do |
325 | local lua = '/usr/local/share/lua/' .. l:sub(16) .. '/PolygLua.lua' | 325 | local lua = '/usr/local/share/lua/' .. l:sub(16) .. '/PolygLua.lua' |