From 18678ba92343d7758f5d1b95ea27cdad32251c3f Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Tue, 6 Mar 2018 07:19:20 +0000 Subject: [PATCH] Set script name for call function Probably we should make this a purely internal thing: to-do in another commit. --- l3build.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/l3build.lua b/l3build.lua index e1294f46..c96b6642 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()