diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-03-12 13:16:07 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-03-12 13:16:07 +0200 |
commit | 1093435c84e2c1a559ea64c80efbf77950775b04 (patch) | |
tree | b18a2a5dab188b8a0e6b3ebdd339dfc4007b4041 /otfl-font-nms.lua | |
parent | b2c0fdd69524d4eb97a5f0350fae195bf3c6c3fa (diff) | |
download | luaotfload-1093435c84e2c1a559ea64c80efbf77950775b04.tar.gz |
Check for windows not "not unix"
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |