[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Cleaner approach to fmt file naming (aaebbd90)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jul 23 09:09:34 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/aaebbd904cb994f2688238637aba85efc9eacbeb

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

commit aaebbd904cb994f2688238637aba85efc9eacbeb
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jul 23 08:09:34 2019 +0100

    Cleaner approach to fmt file naming


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

aaebbd904cb994f2688238637aba85efc9eacbeb
 base/build.lua | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/base/build.lua b/base/build.lua
index 1c80842a..a68e2e49 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -129,14 +129,12 @@ function format ()
         os_setenv .. " TEXINPUTS=" .. unpackdir .. os_pathsep .. localdir
         .. os_concat ..
         engine .. " -etex -ini " .. " -output-directory=" .. unpackdir ..
-        " " .. sourcefile
+        " -jobname=latex " .. sourcefile
       )
     if errorlevel ~=0 then
       return errorlevel
     end
-    if fileexists(unpackdir,"latex.fmt") then
-      ren (unpackdir, "latex.fmt", fmtname)
-    end
+    ren (unpackdir, "latex.fmt", fmtname)
     -- As format building is added in as an 'extra', the normal
     -- copy mechanism (checkfiles) will fail as things get cleaned up
     -- inside bundleunpack(): get around that using a manual copy





More information about the latex3-commits mailing list