diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index bd3bdbc3..3ce4249f 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -108,11 +108,11 @@ local root = LUAROCKS_ROCKS_TREE or home_tree | |||
108 | local defaults = { | 108 | local defaults = { |
109 | root_dir = root, | 109 | root_dir = root, |
110 | rocks_dir = root.."/lib/luarocks/rocks", | 110 | rocks_dir = root.."/lib/luarocks/rocks", |
111 | scripts_dir = root.."/bin/", | ||
112 | lua_modules_path = "/share/lua/5.1/", | 111 | lua_modules_path = "/share/lua/5.1/", |
113 | bin_modules_path = "/lib/lua/5.1/", | 112 | lib_modules_path = "/lib/lua/5.1/", |
114 | lua_modules_dir = root.."/share/lua/5.1/", | 113 | deploy_bin_dir = root.."/bin/", |
115 | bin_modules_dir = root.."/lib/lua/5.1/", | 114 | deploy_lua_dir = root.."/share/lua/5.1/", |
115 | deploy_lib_dir = root.."/lib/lua/5.1/", | ||
116 | 116 | ||
117 | arch = "unknown", | 117 | arch = "unknown", |
118 | lib_extension = "unknown", | 118 | lib_extension = "unknown", |
@@ -275,6 +275,6 @@ setmetatable(_M, cfg_mt) | |||
275 | 275 | ||
276 | for _,tree in ipairs(rocks_trees) do | 276 | for _,tree in ipairs(rocks_trees) do |
277 | package.path = tree..lua_modules_path.."/?.lua;"..tree..lua_modules_path.."/?/init.lua;"..package.path | 277 | package.path = tree..lua_modules_path.."/?.lua;"..tree..lua_modules_path.."/?/init.lua;"..package.path |
278 | package.cpath = tree..bin_modules_path.."/?."..lib_extension..";"..package.cpath | 278 | package.cpath = tree..lib_modules_path.."/?."..lib_extension..";"..package.cpath |
279 | end | 279 | end |
280 | 280 | ||