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

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Mar 6 10:21:49 CET 2018


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

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

commit 18678ba92343d7758f5d1b95ea27cdad32251c3f
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.


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

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

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