diff options
Diffstat (limited to 'src/bin/luarocks-admin')
-rwxr-xr-x | src/bin/luarocks-admin | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index e7f49c25..f49db920 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
@@ -1,5 +1,9 @@ | |||
1 | #!/usr/bin/env lua | 1 | #!/usr/bin/env lua |
2 | 2 | ||
3 | -- this should be loaded first. | ||
4 | local cfg = require("luarocks.cfg") | ||
5 | cfg.init_package_paths() | ||
6 | |||
3 | local loader = require("luarocks.loader") | 7 | local loader = require("luarocks.loader") |
4 | local command_line = require("luarocks.command_line") | 8 | local command_line = require("luarocks.command_line") |
5 | 9 | ||