only add config if not already added.

This commit is contained in:
Tom van Dijck 2016-07-29 09:31:25 -07:00
parent 027e47373f
commit 53ed5f693e

View File

@ -147,8 +147,10 @@
node.dependsOn = source
node.generated = true
-- add to config.
p.fileconfig.addconfig(node, cfg)
-- add to config if not already added.
if not p.fileconfig.getconfig(node, cfg) then
p.fileconfig.addconfig(node, cfg)
end
end
local function addFile(cfg, node)