[latex3-commits] [git/LaTeX3-latex3-luaotfload] harfnode-dev: Fix engine detection in build.lua (1847953)

GitHub noreply at github.com
Mon Oct 21 17:28:49 CEST 2019


Repository : https://github.com/latex3/luaotfload
On branch  : harfnode-dev
Link       : https://github.com/latex3/luaotfload/commit/1847953265f002fcee582837933f692d3cbba692

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

commit 1847953265f002fcee582837933f692d3cbba692
Author: Marcel Krüger <tex at 2krueger.de>
Date:   Mon Oct 21 17:28:49 2019 +0200

    Fix engine detection in build.lua


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

1847953265f002fcee582837933f692d3cbba692
 build.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.lua b/build.lua
index f2168c0..33a43e4 100644
--- a/build.lua
+++ b/build.lua
@@ -73,7 +73,7 @@ local ismiktex = string.match (luatexstatus.banner,"MiKTeX")
 
 local has_hbengine = os.execute(os.type == "unix"
                                   and "command -v luahbtex > /dev/null"
-                                  or "where /q luahbtex") or nil
+                                  or "where /q luahbtex") == 0 or nil
 stdengine    = "luatex"
 checkengines = {"luatex", has_hbengine and "luahbtex"}
 





More information about the latex3-commits mailing list