Fix duplicate recipes in resolve_aliases (?)

This commit is contained in:
Jean-Patrick Guerrero 2020-11-18 01:22:21 +01:00
parent d7619cd778
commit 09e73745fb

@ -1550,9 +1550,8 @@ local function resolve_aliases(hash)
local rcp_old = recipes_cache[oldname][i] local rcp_old = recipes_cache[oldname][i]
for j = 1, #recipes_cache[newname] do for j = 1, #recipes_cache[newname] do
local rcp_new = recipes_cache[newname][j] local rcp_new = copy(recipes_cache[newname][j])
rcp_new.type = nil rcp_new.output = oldname
rcp_new.method = nil
if table_eq(rcp_old, rcp_new) then if table_eq(rcp_old, rcp_new) then
similar = true similar = true