diff options
Diffstat (limited to 'src/bin')
| -rwxr-xr-x | src/bin/luarocks | 5 | ||||
| -rwxr-xr-x | src/bin/luarocks-admin | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks index d0df0532..18a6179b 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #!/usr/bin/env lua | 1 | #!/usr/bin/env lua |
| 2 | 2 | ||
| 3 | -- this should be loaded first. | ||
| 4 | local cfg = require("luarocks.core.cfg") | ||
| 5 | |||
| 6 | local loader = require("luarocks.loader") | 3 | local loader = require("luarocks.loader") |
| 7 | local cmd = require("luarocks.cmd") | 4 | local cmd = require("luarocks.cmd") |
| 8 | 5 | ||
| @@ -33,4 +30,4 @@ local commands = { | |||
| 33 | test = "luarocks.cmd.test", | 30 | test = "luarocks.cmd.test", |
| 34 | } | 31 | } |
| 35 | 32 | ||
| 36 | cmd.run_command(description, commands, ...) | 33 | cmd.run_command(description, commands, "luarocks.cmd.external", ...) |
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index e27b8c01..77a51872 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
| @@ -13,4 +13,4 @@ local commands = { | |||
| 13 | refresh_cache = "luarocks.admin.cmd.refresh_cache", | 13 | refresh_cache = "luarocks.admin.cmd.refresh_cache", |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | cmd.run_command(description, commands, ...) | 16 | cmd.run_command(description, commands, "luarocks.admin.cmd.external", ...) |
