[latex3-commits] [l3svn] 05/07: l3build: Use a one-shot replace for \ProvidesExpl...
noreply at latex-project.org
noreply at latex-project.org
Thu Oct 8 19:31:50 CEST 2015
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 402b615b9c7a882aedd42e2587edc9116a71d1c2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Oct 8 18:08:39 2015 +0100
l3build: Use a one-shot replace for \ProvidesExpl...
---
l3build/l3build.lua | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 4d137d9..df8cce3 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -1695,9 +1695,10 @@ if versionform ~= "" and not setversion_update_line then
line,
"^\\ProvidesExpl" .. i .. " *{[a-zA-Z0-9%-]+}"
) then
- line = string.gsub(line, "{%d%d%d%d/%d%d/%d%d}", "{" .. date .. "}")
line = string.gsub(
- line, "({%d%d%d%d/%d%d/%d%d} *){[^}]*}", "%1{" .. version .. "}"
+ line,
+ "{%d%d%d%d/%d%d/%d%d}( *){[^}]*}",
+ "{" .. date .. "}%1{" .. version "}"
)
break
end
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list