OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

shell.setPath() doesn't work

Open jpumc opened this issue 12 years ago • 0 comments

lua> shell.setPath("/bin") lib/shell.lua:87: calling 'gmatch' on bad self (string expected, got table)

the line is: for p in string:gmatch(value, "[^:]") do it should be: for p in string.gmatch(value, "[^:]+") do (the + is there because otherwise it returns individual letters)

jpumc avatar Jan 03 '14 16:01 jpumc