[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: fileexists (555e7eb9)

David Carlisle d.p.carlisle at gmail.com
Sun Jul 21 11:50:22 CEST 2019


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

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

commit 555e7eb98ca0157cf09b9c8c1ceaad73d70e0631
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Jul 21 10:50:22 2019 +0100

    fileexists


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

555e7eb98ca0157cf09b9c8c1ceaad73d70e0631
 base/build.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/build.lua b/base/build.lua
index 161773f6..1c80842a 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -134,7 +134,7 @@ function format ()
     if errorlevel ~=0 then
       return errorlevel
     end
-    if exist(unpackdir,"latex.fmt") then
+    if fileexists(unpackdir,"latex.fmt") then
       ren (unpackdir, "latex.fmt", fmtname)
     end
     -- As format building is added in as an 'extra', the normal





More information about the latex3-commits mailing list