[latex3-commits] [l3svn] 01/03: Unpack for format using same setup as general script

noreply at latex-project.org noreply at latex-project.org
Fri Nov 13 10:16:42 CET 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 8da5f991288098db2b0ee9333a67db82f39846b0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Nov 13 09:08:13 2015 +0000

    Unpack for format using same setup as general script
    
    This was a hold-over from when tasks took place 'here' rather
    than redirecting everything.
---
 l3kernel/build.lua |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/l3kernel/build.lua b/l3kernel/build.lua
index ff3a774..dfcbbed 100644
--- a/l3kernel/build.lua
+++ b/l3kernel/build.lua
@@ -74,14 +74,14 @@ function format()
   if errorlevel ~=0 then
     return errorlevel
   end
-  os.execute(
-      -- Set TEXINPUTS to look in the unpack then local dirs only
-      -- See notes in l3build.lua for unpack ()
-      os_setenv .. " TEXINPUTS=" .. unpackdir .. os_pathsep .. localdir ..
-        os_concat ..
-      unpackexe .. " " .. unpackopts .. " -output-directory=" .. unpackdir
-        .. " " .. unpackdir .. "/" .. "l3format.ins"
-    )
+  local localdir = relpath(localdir, unpackdir)
+  errorlevel = run(
+    unpackdir,
+    os_setenv .. " TEXINPUTS=." .. os_pathsep
+      .. localdir .. (unpacksearch and os_pathsep or "") ..
+    os_concat ..
+    unpackexe .. " " .. unpackopts .. " l3format.ins"
+  )
   local function mkformat(engine)
     local realengine = engine
     -- Special casing for (u)pTeX

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list