aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/cfg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r--src/luarocks/cfg.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 86d7d585..e3d924fb 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -493,12 +493,6 @@ function package_paths()
493 return table.concat(new_path, ";"), table.concat(new_cpath, ";") 493 return table.concat(new_path, ";"), table.concat(new_cpath, ";")
494end 494end
495 495
496do
497 local new_path, new_cpath = package_paths()
498 package.path = new_path..";"..package.path
499 package.cpath = new_cpath..";"..package.cpath
500end
501
502function which_config() 496function which_config()
503 return sys_config_file, sys_config_ok, home_config_file, home_config_ok 497 return sys_config_file, sys_config_ok, home_config_file, home_config_ok
504end 498end