diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-11 20:27:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-11 20:27:59 +0000 |
commit | 65065e550cf256d19dee3653a5130a20c162dd48 (patch) | |
tree | b1426ec97f4542aca6b758b744f49d4136afbce7 /Master/texmf-dist/scripts | |
parent | d7e7ffbd60ec793df794f8483ac925c1c518eb14 (diff) |
l3build (10mar18)
git-svn-id: svn://tug.org/texlive/trunk@46924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-aux.lua | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/l3build/l3build.lua | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-aux.lua b/Master/texmf-dist/scripts/l3build/l3build-aux.lua index 60193795a9a..f081054d575 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-aux.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-aux.lua @@ -58,7 +58,7 @@ function setepoch() end local function getscriptname() - if match(arg[0], "l3build(%.lua)$") then + if match(arg[0], "l3build$") or match(arg[0], "l3build%.lua$") then return lookup("l3build.lua") else return arg[0] diff --git a/Master/texmf-dist/scripts/l3build/l3build.lua b/Master/texmf-dist/scripts/l3build/l3build.lua index 506740f8a41..c1151bbc7b6 100755 --- a/Master/texmf-dist/scripts/l3build/l3build.lua +++ b/Master/texmf-dist/scripts/l3build/l3build.lua @@ -1,3 +1,5 @@ +#!/usr/bin/env texlua + --[[ File l3build.lua Copyright (C) 2014-2017 The LaTeX3 Project @@ -23,7 +25,7 @@ for those people who are interested. --]] -- Version information -release_date = "2018-03-09" +release_date = "2018-03-10" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") @@ -77,7 +79,7 @@ build_require("stdmain") main = main or stdmain -- Load configuration file if running as a script -if match(arg[0], "l3build(%.lua)$") then +if match(arg[0], "l3build$") or match(arg[0], "l3build%.lua$") then -- Look for some configuration details if fileexists("build.lua") then dofile("build.lua") |