[latex3-commits] [l3svn] 05/07: Pass through "-p" option from top-level script

noreply at latex-project.org noreply at latex-project.org
Sun May 22 22:52:55 CEST 2016


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

joseph pushed a commit to branch master
in repository l3svn.

commit 9a3709d423d6c2061e33e4f30e86f924bf8d00f6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun May 22 20:22:05 2016 +0100

    Pass through "-p" option from top-level script
    
    Again improve "-q" at the same time.
---
 build.lua |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/build.lua b/build.lua
index 3e14c56..2e26f9c 100644
--- a/build.lua
+++ b/build.lua
@@ -49,10 +49,6 @@ function main (target)
       if optengines then
         engines = " --engine=" .. table.concat(optengines, ",")
       end
-      local quiet = ""
-      if optquiet then
-        quiet = " --quiet"
-      end
       local version = ""
       if optversion then
         version = " --version=" .. optversion[1]
@@ -60,10 +56,12 @@ function main (target)
       errorlevel = run(
         i,
         "texlua " .. scriptname .. " "
-          .. target .. (opthalt and " -H" or "")
+          .. target
+          .. (opthalt and " -H" or "")
           .. date
           .. engines
-          .. quiet
+          .. (optpdf and " -p" or "")
+          .. (optquiet and " -q" or "")
           .. version
       )
       if errorlevel ~= 0 then

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


More information about the latex3-commits mailing list