aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-08-30 12:44:15 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-08-30 16:35:44 -0300
commitdf36ddf7cc3df71c7f03a441bfb209d750e86374 (patch)
tree2ecd5c0d946b90780fe40179f0dad22ae109ddf2 /src
parent2de241f1010585af2528ef40ead82510afc44891 (diff)
downloadluarocks-df36ddf7cc3df71c7f03a441bfb209d750e86374.tar.gz
luarocks-df36ddf7cc3df71c7f03a441bfb209d750e86374.tar.bz2
luarocks-df36ddf7cc3df71c7f03a441bfb209d750e86374.zip
cmd: include explicit preliminary cfg.init
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/cmd.lua3
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()