diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/cfg.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index f66ad1d9..3a5294f5 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -168,10 +168,10 @@ end | |||
168 | 168 | ||
169 | if not next(rocks_trees) then | 169 | if not next(rocks_trees) then |
170 | if home_tree then | 170 | if home_tree then |
171 | table.insert(rocks_trees, home_tree) | 171 | table.insert(rocks_trees, { name = "user", root = home_tree } ) |
172 | end | 172 | end |
173 | if site_config.LUAROCKS_ROCKS_TREE then | 173 | if site_config.LUAROCKS_ROCKS_TREE then |
174 | table.insert(rocks_trees, site_config.LUAROCKS_ROCKS_TREE) | 174 | table.insert(rocks_trees, { name = "system", root = site_config.LUAROCKS_ROCKS_TREE } ) |
175 | end | 175 | end |
176 | end | 176 | end |
177 | 177 | ||