summaryrefslogtreecommitdiff
path: root/luaotfload-fonts.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2010-01-19 18:54:10 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2010-01-19 18:54:10 +0200
commit9ba26d4410ab0af594febe2af037d3d4ec2536c5 (patch)
tree642d56e1304c5f91ee36c3b2bd6f1416d1fe121e /luaotfload-fonts.lua
parentd9ac83dfab6d7f301fe0a1b11a804d7aec6cb79e (diff)
downloadluaotfload-9ba26d4410ab0af594febe2af037d3d4ec2536c5.tar.gz
Not relying on require()
require() doesn't work with LuaTeX 0.50 from Debian.
Diffstat (limited to 'luaotfload-fonts.lua')
-rw-r--r--luaotfload-fonts.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/luaotfload-fonts.lua b/luaotfload-fonts.lua
index 7ed2a2d..582d815 100644
--- a/luaotfload-fonts.lua
+++ b/luaotfload-fonts.lua
@@ -13,11 +13,7 @@ luaotfload.fonts.module = {
kpse.set_program_name("luatex")
-if status and status.luatex_version and status.luatex_version > 44 then
- require("luaextra.lua")
-else
- dofile(kpse.find_file("luaextra.lua"))
-end
+dofile(kpse.find_file("luaextra.lua"))
local upper, splitpath, expandpath, glob, basename = string.upper, file.split_path, kpse.expand_path, dir.glob, file.basename