summaryrefslogtreecommitdiff
path: root/luaotfload-font-nms.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-22 16:13:07 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-22 16:13:07 +0200
commit406f05fe9ffa53b6bac44b3150801e8461afc2a5 (patch)
tree1062e5bef0da9658386266124defd1672e83479d /luaotfload-font-nms.lua
parent9c573708a2e74b51062fc5cef728790dd85f66d6 (diff)
parent00358e48e13b112392d1a3da71795bbc1bf336a0 (diff)
downloadluaotfload-406f05fe9ffa53b6bac44b3150801e8461afc2a5.tar.gz
Merge branch 'master' of https://github.com/phi-gamma/luaotfload
Diffstat (limited to 'luaotfload-font-nms.lua')
-rw-r--r--luaotfload-font-nms.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-font-nms.lua b/luaotfload-font-nms.lua
index 54abf67..67619be 100644
--- a/luaotfload-font-nms.lua
+++ b/luaotfload-font-nms.lua
@@ -45,12 +45,12 @@ local utf8lower = unicode.utf8.lower
local dirglob = dir.glob
local dirmkdirs = dir.mkdirs
local filebasename = file.basename
-local filecollapsepath = file.collapsepath
+local filecollapsepath = file.collapsepath or file.collapse_path
local fileextname = file.extname
local fileiswritable = file.iswritable
local filejoin = file.join
local filereplacesuffix = file.replacesuffix
-local filesplitpath = file.splitpath
+local filesplitpath = file.splitpath or file.split_path
local stringis_empty = string.is_empty
local stringsplit = string.split
local stringstrip = string.strip