aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/path.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/path.lua b/src/luarocks/path.lua
index f5a7e9ed..f8ae15c0 100644
--- a/src/luarocks/path.lua
+++ b/src/luarocks/path.lua
@@ -336,7 +336,7 @@ function map_trees(deps_mode, fn, ...)
336 use = true 336 use = true
337 end 337 end
338 for _, tree in ipairs(cfg.rocks_trees) do 338 for _, tree in ipairs(cfg.rocks_trees) do
339 if dir.normalize(tree) == dir.normalize(cfg.root_dir) then 339 if dir.normalize(rocks_tree_to_string(tree)) == dir.normalize(rocks_tree_to_string(cfg.root_dir)) then
340 use = true 340 use = true
341 end 341 end
342 if use then 342 if use then