summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-19 10:31:44 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-19 10:31:44 +0200
commitf10aeb6e760a349986570489b838ae6384291107 (patch)
tree226a1aadb98ae349a9426fbfa0f8a67e8df151f5
parentf01d69e79b4016db76e7672660f82db3bd6df7ed (diff)
downloadluaotfload-f10aeb6e760a349986570489b838ae6384291107.tar.gz
Finishing to fix reference loop
-rw-r--r--otfl-font-nms.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index c987c3a..ee9fa33 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -888,7 +888,9 @@ read_fonts_conf = function (path, results, passed_paths)
read_fonts_conf(include, results, passed_paths)
elseif lfs.isdir(include) then
for _,f in next, dirglob(filejoin(include, "*.conf")) do
- read_fonts_conf(f, results, passed_paths)
+ if not passed_paths_set[f] then
+ read_fonts_conf(f, results, passed_paths)
+ end
end
end
end