[latex3-commits] [git/LaTeX3-latex3-l3build] standalone: Set script name for call function (b6a44a6)

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


Repository : https://github.com/latex3/l3build
On branch  : standalone
Link       : https://github.com/latex3/l3build/commit/b6a44a6c8442913985a32377b974a9a9dfa22c69

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

commit b6a44a6c8442913985a32377b974a9a9dfa22c69
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.


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

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

diff --git a/l3build.lua b/l3build.lua
index aa10692..d688549 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