diff options
-rw-r--r-- | src/luarocks/cmd.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index 575d3223..a96e1fdd 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
@@ -432,6 +432,9 @@ function cmd.run_command(description, commands, external_namespace, ...) | |||
432 | 432 | ||
433 | check_popen() | 433 | check_popen() |
434 | 434 | ||
435 | -- Preliminary initialization | ||
436 | cfg.init() | ||
437 | |||
435 | -- FIXME A quick hack for the experimental Windows build | 438 | -- FIXME A quick hack for the experimental Windows build |
436 | if os.getenv("LUAROCKS_CROSS_COMPILING") then | 439 | if os.getenv("LUAROCKS_CROSS_COMPILING") then |
437 | cfg.each_platform = function() | 440 | cfg.each_platform = function() |