[latex3-commits] [git/LaTeX3-latex3-latex3] DRY: Missed one texmfdir (45d1a29e2)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 27 18:04:37 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : DRY
Link       : https://github.com/latex3/latex3/commit/45d1a29e2d1ea3ad942bace30b5e0959f0da7e59

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

commit 45d1a29e2d1ea3ad942bace30b5e0959f0da7e59
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 27 17:04:37 2019 +0100

    Missed one texmfdir


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

45d1a29e2d1ea3ad942bace30b5e0959f0da7e59
 build-config.lua | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build-config.lua b/build-config.lua
index 89ef363bb..783edfdb9 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -102,8 +102,14 @@ local function fmt()
     if fileexists(supportdir .. "/" .. ini) then
       src = ini
     end
+    local localdir = abspath(localdir)
+    local localtexmf = ""
+    if texmfdir and texmfdir ~= "" then
+      localtexmf = os_pathsep .. abspath(texmfdir) .. "//"
+    end
     local errorlevel = os.execute(
       os_setenv .. " TEXINPUTS=" .. unpackdir .. os_pathsep .. localdir
+      .. localtexmf
       .. os_concat .. cmd .. " -etex -ini -output-directory=" .. unpackdir
       .. " " .. src)
     if errorlevel ~= 0 then return errorlevel end





More information about the latex3-commits mailing list