[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Correct copyright step for single-date files (244fab16)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Jan 23 13:23:00 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/244fab16a6c7e5ee4f08ce7365c0a75b3cd39ca7
>---------------------------------------------------------------
commit 244fab16a6c7e5ee4f08ce7365c0a75b3cd39ca7
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Jan 23 12:23:00 2020 +0000
Correct copyright step for single-date files
>---------------------------------------------------------------
244fab16a6c7e5ee4f08ce7365c0a75b3cd39ca7
build-config.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-config.lua b/build-config.lua
index bd539f73..d44f65f6 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -93,7 +93,7 @@ function update_tag(file,content,tagname,tagdate)
"Copyright (C) %1-" .. year .. "\n")
elseif string.match(content,"%% Copyright %(C%) %d%d%d%d\n") then
local oldyear = string.match(content,"%% Copyright %(C%) (%d%d%d%d)\n")
- if not year == oldyear then
+ if not year ~= oldyear then
content = string.gsub(content,
"Copyright %(C%) %d%d%d%d\n",
"Copyright (C) " .. oldyear .. "-" .. year .. "\n")
More information about the latex3-commits
mailing list