Skip to content

Commit

Permalink
Set script name for call function
Browse files Browse the repository at this point in the history
Probably we should make this a purely internal thing:
to-do in another commit.
  • Loading branch information
josephwright committed Mar 6, 2018
1 parent 54500b3 commit 18678ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions l3build.lua
Expand Up @@ -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()
Expand Down

0 comments on commit 18678ba

Please sign in to comment.