diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/cmd.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index f1446df4..ca79c316 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
| @@ -83,6 +83,9 @@ do | |||
| 83 | if not named then | 83 | if not named then |
| 84 | local root_dir = fs.absolute_name(args.tree) | 84 | local root_dir = fs.absolute_name(args.tree) |
| 85 | replace_tree(args, root_dir) | 85 | replace_tree(args, root_dir) |
| 86 | if (args.deps_mode or cfg.deps_mode) ~= "order" then | ||
| 87 | table.insert(cfg.rocks_trees, 1, { name = "arg", root = root_dir } ) | ||
| 88 | end | ||
| 86 | end | 89 | end |
| 87 | elseif args["local"] then | 90 | elseif args["local"] then |
| 88 | if fs.is_superuser() then | 91 | if fs.is_superuser() then |
