diff options
-rw-r--r-- | src/luarocks/cfg.lua | 2 | ||||
-rw-r--r-- | src/luarocks/fs/unix.lua | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 89c53f24..484bfb79 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -146,7 +146,7 @@ if not sys_config_ok then | |||
146 | sys_config_file = sys_config_dir.."/config.lua" | 146 | sys_config_file = sys_config_dir.."/config.lua" |
147 | sys_config_ok, err = persist.load_into_table(sys_config_file, _M) | 147 | sys_config_ok, err = persist.load_into_table(sys_config_file, _M) |
148 | end | 148 | end |
149 | if err and ok == nil then | 149 | if err and sys_config_ok == nil then |
150 | io.stderr:write(err.."\n") | 150 | io.stderr:write(err.."\n") |
151 | end | 151 | end |
152 | 152 | ||
diff --git a/src/luarocks/fs/unix.lua b/src/luarocks/fs/unix.lua index d231222b..2dc5e492 100644 --- a/src/luarocks/fs/unix.lua +++ b/src/luarocks/fs/unix.lua | |||
@@ -1,9 +1,5 @@ | |||
1 | 1 | ||
2 | --- Unix implementation of filesystem and platform abstractions. | 2 | --- Unix implementation of filesystem and platform abstractions. |
3 | |||
4 | local assert, type, table, io, package, math, os, ipairs = | ||
5 | assert, type, table, io, package, math, os, ipairs | ||
6 | |||
7 | module("luarocks.fs.unix", package.seeall) | 3 | module("luarocks.fs.unix", package.seeall) |
8 | 4 | ||
9 | local fs = require("luarocks.fs") | 5 | local fs = require("luarocks.fs") |