[latex3-commits] [l3svn] branch master updated: Return more errorlevel data at the top level

noreply at latex-project.org noreply at latex-project.org
Wed Sep 23 19:12:07 CEST 2015


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

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  f1cd183   Return more errorlevel data at the top level
f1cd183 is described below

commit f1cd18335124a96922d8aa866fbdb03e2d405b6e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Sep 23 18:11:51 2015 +0100

    Return more errorlevel data at the top level
---
 build.lua |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/build.lua b/build.lua
index 5c3c39a..897be52 100644
--- a/build.lua
+++ b/build.lua
@@ -60,13 +60,15 @@ function main (target)
       for _,i in ipairs (ctanbundles) do
         cp (i .. ".zip", i, ".")
       end
+    else
+      os.exit(errorlevel)
     end
   elseif target == "doc" then
-    dobundles (bundles, "doc")
+    os.exit(dobundles(bundles, "doc"))
   elseif target == "install" then
-    dobundles (bundles, "install")
+    os.exit(dobundles (bundles, "install"))
   elseif target == "unpack" then
-    dobundles (bundles, "unpack")
+    os.exit(dobundles (bundles, "unpack"))
   elseif target == "version" then
       version ()
   else

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


More information about the latex3-commits mailing list