summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-11 20:27:59 +0000
committerKarl Berry <karl@freefriends.org>2018-03-11 20:27:59 +0000
commit65065e550cf256d19dee3653a5130a20c162dd48 (patch)
treeb1426ec97f4542aca6b758b744f49d4136afbce7 /Master/texmf-dist/scripts
parentd7e7ffbd60ec793df794f8483ac925c1c518eb14 (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.lua2
-rwxr-xr-xMaster/texmf-dist/scripts/l3build/l3build.lua6
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")