diff options
| author | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-02 21:10:08 +0100 | 
|---|---|---|
| committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-02 21:10:08 +0100 | 
| commit | b86cc36d326998dfb0d8bf1e062cfbf53a0c2b3a (patch) | |
| tree | 5aefc0d7955a7eb46e3512999013a5222efc4476 | |
| parent | cf11e5a0d9155095649460aa207dac80ce75ae80 (diff) | |
| download | luaotfload-b86cc36d326998dfb0d8bf1e062cfbf53a0c2b3a.tar.gz | |
[tool] exterminate references to legacy code
| -rwxr-xr-x | luaotfload-tool.lua | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua index fd84fa4..9c3569a 100755 --- a/luaotfload-tool.lua +++ b/luaotfload-tool.lua @@ -33,8 +33,7 @@ kpse.set_program_name "luatex"  --[[doc--      We test for Lua 5.1 by means of capability detection to see if -    we’re running an outdated Luatex.  If so, we hand over control to -    the legacy db runner. +    we’re running an outdated Luatex.  If so, we bail.      \url{http://lua-users.org/wiki/LuaVersionCompatibility} @@ -63,8 +62,10 @@ if _G.getfenv ~= nil then -- 5.1 or LJ          runtime = { "jit", jit.version }      else          runtime = { "stock", _VERSION } -        local oldscript = kpsefind_file "luaotfload-legacy-tool.lua" -        return require (oldscript) +        print "FATAL ERROR" +        print "Luaotfload requires a Luatex version >=0.76." +        print "Please update your TeX distribution!" +        os.exit (-1)      end  else -- 5.2      runtime = { "stock", _VERSION }  | 
