diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-18 14:32:54 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-18 14:32:54 +0200 |
commit | 64b8916cca621917b4fcd971e7921ec44f1f3352 (patch) | |
tree | 0607179331539b036efb8ba4dd539a833c6977b8 /otfl-font-nms.lua | |
parent | a198740f4f6f5016d4961854efaebbcb66dbe55b (diff) | |
download | luaotfload-64b8916cca621917b4fcd971e7921ec44f1f3352.tar.gz |
I had forgotten this check for reference-looping
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index 5cca490..50febab 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -582,7 +582,9 @@ local function read_fonts_conf(path, results, passed_paths) read_fonts_conf(include, results, passed_paths) elseif lfs.isdir(include) then for _,f in next, glob(file.join(include, "*.conf")) do - read_fonts_conf(f, results, passed_paths) + if not table.contains(passed_paths, f) then + read_fonts_conf(f, results, passed_paths) + end end end end |