diff options
-rw-r--r-- | src/luarocks/core/cfg.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua index ffa6964a..b3561422 100644 --- a/src/luarocks/core/cfg.lua +++ b/src/luarocks/core/cfg.lua | |||
@@ -665,8 +665,6 @@ function cfg.init(detected, warning) | |||
665 | -- Let's finish up the cfg table. | 665 | -- Let's finish up the cfg table. |
666 | ---------------------------------------- | 666 | ---------------------------------------- |
667 | 667 | ||
668 | cfg.variables.LUA_DIR = detected.given_lua_dir or cfg.variables.LUA_DIR | ||
669 | |||
670 | -- Settings given via the CLI (i.e. --lua-dir) take precedence over config files. | 668 | -- Settings given via the CLI (i.e. --lua-dir) take precedence over config files. |
671 | cfg.project_dir = detected.given_project_dir or cfg.project_dir | 669 | cfg.project_dir = detected.given_project_dir or cfg.project_dir |
672 | cfg.lua_version = detected.given_lua_version or cfg.lua_version | 670 | cfg.lua_version = detected.given_lua_version or cfg.lua_version |