From 1093435c84e2c1a559ea64c80efbf77950775b04 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 12 Mar 2010 13:16:07 +0200 Subject: Check for windows not "not unix" --- otfl-font-nms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index aa958ea..3239f0b 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -282,7 +282,7 @@ end -- - a/../b -> b -- - /cygdrive/a/b -> a:/b local function path_normalize(path) - if os.type ~= 'unix' then + if os.type == "windows" then path = path:gsub('\\', '/') path = path:lower() end -- cgit v1.2.3