[latex3-commits] [git/LaTeX3-latex3-l3build] main: Fix missing esape for "." in regexp (fb28db2)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Oct 31 17:13:52 CET 2021
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/fb28db24221874ec3957a7fa4636a82084879964
>---------------------------------------------------------------
commit fb28db24221874ec3957a7fa4636a82084879964
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Oct 31 17:13:52 2021 +0100
Fix missing esape for "." in regexp
>---------------------------------------------------------------
fb28db24221874ec3957a7fa4636a82084879964
CHANGELOG.md | 3 +++
l3build.lua | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7761933..769acea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,9 @@ this project uses date-based 'snapshot' version identifiers.
### Changed
- Documentation improvements
+### Fixed
+- Allow config names ending with 'lua', as long as they don't end with '.lua'
+
## [2021-08-28]
### Fixed
diff --git a/l3build.lua b/l3build.lua
index 63863b0..f8ecf95 100755
--- a/l3build.lua
+++ b/l3build.lua
@@ -201,7 +201,7 @@ end
if #checkconfigs == 1 and
checkconfigs[1] ~= "build" and
(options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
- local config = "./" .. gsub(checkconfigs[1],".lua$","") .. ".lua"
+ local config = "./" .. gsub(checkconfigs[1],"%.lua$","") .. ".lua"
if fileexists(config) then
local savedtestfiledir = testfiledir
dofile(config)
More information about the latex3-commits
mailing list.