[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix version checking (0127d99)

Marcel Fabian Krüger tex at 2krueger.de
Tue Sep 29 18:09:50 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/0127d99235f21c80dcb885d312c30de9f2c31ebe

>---------------------------------------------------------------

commit 0127d99235f21c80dcb885d312c30de9f2c31ebe
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Sep 29 18:09:50 2020 +0200

    Fix version checking


>---------------------------------------------------------------

0127d99235f21c80dcb885d312c30de9f2c31ebe
 src/luaotfload-tool.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua
index aee52c8..716a0fc 100644
--- a/src/luaotfload-tool.lua
+++ b/src/luaotfload-tool.lua
@@ -68,7 +68,7 @@ do
     local revn     = tonumber (status.luatex_revision) or 0 --[[ : string ]]
 
     if status.luatex_version < minimum[1]
-       or status.luatex_version == minimum[1] and status.luatex_revision < minimum[2] then
+       or status.luatex_version == minimum[1] and tonumber(status.luatex_revision) < minimum[2] then
         texio.write_nl ("term and log",
                         string.format ("\tFATAL ERROR\n\z
                                         \tLuaotfload requires a Luatex version >= %d.%d.%d.\n\z





More information about the latex3-commits mailing list.