summaryrefslogtreecommitdiff
path: root/mkluatexfontdb.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mkluatexfontdb.lua')
-rw-r--r--mkluatexfontdb.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkluatexfontdb.lua b/mkluatexfontdb.lua
index e8ce1a5..d4782ea 100644
--- a/mkluatexfontdb.lua
+++ b/mkluatexfontdb.lua
@@ -95,7 +95,7 @@ local function do_run_fc_cache(c)
-- TODO: detect if fc-cache is available
end
local toexec = 'fc-cache'
- if fonts.system == 'windows' then
+ if os.type == 'windows' then
toexec = 'fc-cache.exe' -- TODO: to test on a non-cygwin Windows
end
log('executing %s...\n', toexec)