[latex3-commits] [git/LaTeX3-latex3-latex3] master: Tighten up copyright search (3fc70eb)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jan 16 00:19:11 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/3fc70eb8b4b49cfa333c922069ca0fc6c989d468

>---------------------------------------------------------------

commit 3fc70eb8b4b49cfa333c922069ca0fc6c989d468
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jan 15 23:18:53 2019 +0000

    Tighten up copyright search


>---------------------------------------------------------------

3fc70eb8b4b49cfa333c922069ca0fc6c989d468
 build-config.lua   |    4 ++--
 l3kernel/build.lua |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build-config.lua b/build-config.lua
index dc9deb0..1543bb8 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -39,8 +39,8 @@ function update_tag(file,content,tagname,tagdate)
   if string.match(content,"%(C%)%s*[%d%-,]+ The LaTeX3 Project") then
     local year = os.date("%Y")
     content = string.gsub(content,
-      "%(C%)%s*([%d%-,]+)",
-      "(C) %1," .. year)
+      "%(C%)%s*([%d%-,]+) The LaTeX3 Project",
+      "(C) %1," .. year .. " The LaTeX3 Project")
    content = string.gsub(content,year .. "," .. year,year)
    content = string.gsub(content,
      "%-" .. year - 1 .. "," .. year,
diff --git a/l3kernel/build.lua b/l3kernel/build.lua
index 5c9b630..0c51c4e 100644
--- a/l3kernel/build.lua
+++ b/l3kernel/build.lua
@@ -52,8 +52,8 @@ function update_tag(file,content,tagname,tagdate)
   if string.match(content,"%(C%)%s*[%d%-,]+ The LaTeX3 Project") then
     local year = os.date("%Y")
     content = string.gsub(content,
-      "%(C%)%s*([%d%-,]+)",
-      "(C) %1," .. year)
+      "%(C%)%s*([%d%-,]+) The LaTeX3 Project",
+      "(C) %1," .. year .. " The LaTeX3 Project")
    content = string.gsub(content,year .. "," .. year,year)
    content = string.gsub(content,
      "%-" .. year - 1 .. "," .. year,





More information about the latex3-commits mailing list