[latex3-commits] [l3svn] 06/20: l3build: Move lfs loading
noreply at latex-project.org
noreply at latex-project.org
Fri Apr 14 23:38:59 CEST 2017
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 2dbfd03b9b53dda74c080e4f1e3e2076507a438d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Apr 14 19:30:16 2017 +0100
l3build: Move lfs loading
---
l3build/l3build.lua | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 6f32743..8234408 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -170,6 +170,9 @@ pdfext = pdfext or ".pdf"
psext = psext or ".ps"
tlgext = tlgext or ".tlg"
+-- File operations are aided by the LuaFileSystem module
+lfs = require("lfs")
+
-- Parse command line options
-- This is done as a function (rather than do ... end) as it allows early
-- termination (break)
@@ -431,10 +434,6 @@ else
os_yes = "printf 'y\\n%.0s' {1..200}"
end
--- File operations are aided by the LuaFileSystem module, which is available
--- within texlua
-lfs = require("lfs")
-
-- For cleaning out a directory, which also ensures that it exists
function cleandir(dir)
local errorlevel = mkdir(dir)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list