diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2013-12-18 23:01:50 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2013-12-18 23:01:50 -0200 |
commit | e0fc42d99562793236aaac62e73be2b4fc5317c6 (patch) | |
tree | 944365083fbe4ea3d3c13629b4c0a824e79df6b8 /src | |
parent | 0f172cbc35e3585aab443663e7c87f617c272833 (diff) | |
download | luarocks-e0fc42d99562793236aaac62e73be2b4fc5317c6.tar.gz luarocks-e0fc42d99562793236aaac62e73be2b4fc5317c6.tar.bz2 luarocks-e0fc42d99562793236aaac62e73be2b4fc5317c6.zip |
Make default rocks_trees named as well.
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 | ||