[latex3-commits] [git/LaTeX3-latex3-l3build] master: Set script name for call function (0043c97)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Mar 6 19:38:53 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/0043c979e3470a6b680bb24a0c1518661b86b03b

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

commit 0043c979e3470a6b680bb24a0c1518661b86b03b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Mar 6 07:19:20 2018 +0000

    Set script name for call function
    
    Probably we should make this a purely internal thing:
    to-do in another commit.


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

0043c979e3470a6b680bb24a0c1518661b86b03b
 l3build.lua |    1 +
 1 file changed, 1 insertion(+)

diff --git a/l3build.lua b/l3build.lua
index 32306a6..845f51a 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -69,6 +69,7 @@ main = main or stdmain
 
 -- Load configuration file if running as a script
 if match(arg[0], "l3build(%.lua)$") then
+  scriptname = "l3build.lua"
   -- Options which do not need any configuration
   if options["help"] then
     help()





More information about the latex3-commits mailing list