[latex3-commits] [git/LaTeX3-latex3-latex3] DRY: Hopefully get format building + texmfdir right (b33372602)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Sep 28 11:53:49 CEST 2019


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

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

commit b33372602a15efe2f91192013a2586bec8cb52f4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Sep 28 10:53:49 2019 +0100

    Hopefully get format building + texmfdir right


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

b33372602a15efe2f91192013a2586bec8cb52f4
 build-config.lua | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/build-config.lua b/build-config.lua
index 783edfdb9..9c341d731 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -102,14 +102,9 @@ 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_pathsep .. texmfdir .. "//"
       .. os_concat .. cmd .. " -etex -ini -output-directory=" .. unpackdir
       .. " " .. src)
     if errorlevel ~= 0 then return errorlevel end





More information about the latex3-commits mailing list