diff options
Diffstat (limited to 'files.lua')
| -rw-r--r-- | files.lua | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -157,7 +157,13 @@ if ok then end else if not (run_cmd('find . -maxdepth 0')) then - error("Could not find 'luafilesystem' module and couldn't run system command `find` (this might happen on Windows). Please install `luafilesystem` (which can be found at: http://keplerproject.github.io/luafilesystem/ or `luarocks install luafilesystem`)", 0) + local url + if jit then + url = 'https://github.com/spacewander/luafilesystem' + else + url = 'https://github.com/keplerproject/luafilesystem' + end + error("Could not find 'luafilesystem' module and couldn't run system command `find` (this might happen on Windows). Please install `luafilesystem` (which can be found at: " .. tostring(url) .. " or `luarocks install luafilesystem`)", 0) end end Files.walk = function(path, flush_cache) |
