diff options
Diffstat (limited to 'src/bin')
| -rwxr-xr-x | src/bin/luarocks | 4 | ||||
| -rwxr-xr-x | src/bin/luarocks-admin | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks index 3c9e1b74..9101e675 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks | |||
| @@ -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 | ||
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 | ||
