diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-09 22:47:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-09 22:47:41 +0000 |
commit | b7a725e9ab8924313f9eaf945f61e6ea7040c1c0 (patch) | |
tree | 1f0bc471f6caad309f9fcb4e39179d5387473fc7 /Master/texmf-dist/scripts/l3build/l3build-aux.lua | |
parent | ede48fa402ed1c37b836d56fc860a137fd0d2e11 (diff) |
l3build (9mar18)
git-svn-id: svn://tug.org/texlive/trunk@46905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-aux.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-aux.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-aux.lua b/Master/texmf-dist/scripts/l3build/l3build-aux.lua index 773a17a40e1..60193795a9a 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-aux.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-aux.lua @@ -27,6 +27,8 @@ local match = string.match local pairs = pairs local print = print +local lookup = kpse.lookup + -- -- Auxiliary functions which are used by more than one main function -- @@ -57,9 +59,9 @@ end local function getscriptname() if match(arg[0], "l3build(%.lua)$") then - return "l3build.lua" + return lookup("l3build.lua") else - return "build.lua" + return arg[0] end end |