[latex3-commits] [git/LaTeX3-latex3-l3build] main: Only match filename and not full path for `exefiles` (ec29b32)
Marcel Fabian Krüger
tex at 2krueger.de
Fri Aug 27 23:42:54 CEST 2021
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/ec29b32692dd02d3346a5881873e54bede210413
>---------------------------------------------------------------
commit ec29b32692dd02d3346a5881873e54bede210413
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Fri Aug 27 23:42:54 2021 +0200
Only match filename and not full path for `exefiles`
>---------------------------------------------------------------
ec29b32692dd02d3346a5881873e54bede210413
CHANGELOG.md | 1 +
l3build-ctan.lua | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 332b585..194db28 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
### Fixed
- Creation of zip files on Windows
+- Only match filename and not full path for `exefiles`
## [2021-08-27]
diff --git a/l3build-ctan.lua b/l3build-ctan.lua
index 96d5a90..e5b3b7e 100644
--- a/l3build-ctan.lua
+++ b/l3build-ctan.lua
@@ -81,7 +81,7 @@ function ctan()
end
return function(name)
for n, patt in ipairs(patterns) do
- if name:match(patt) then return true end
+ if name:match"([^/]*)$":match(patt) then return true end
end
return false
end
More information about the latex3-commits
mailing list.