summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-22 02:53:39 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-22 02:53:39 -0700
commit00358e48e13b112392d1a3da71795bbc1bf336a0 (patch)
treeec858e83c66da05054a6925e56f9103c25947585 /otfl-font-nms.lua
parent17488f095c0c1f7007fee89da8a337763605280e (diff)
parentc170cba2b369564a94b10e992822cbe8601b0f99 (diff)
downloadluaotfload-00358e48e13b112392d1a3da71795bbc1bf336a0.tar.gz
Merge pull request #2 from eroux/master
Backward compatibility with current lualibs
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index cec2a54..35611a6 100644
--- a/otfl-font-nms.lua
+++ b/otfl-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