[latex3-commits] [l3svn] 01/05: l3build: Carry change through all files

noreply at latex-project.org noreply at latex-project.org
Wed Oct 7 23:35:57 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 82c26c3e7419b58103d26815ca106526c3539251
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Oct 7 19:44:44 2015 +0100

    l3build: Carry change through all files
---
 l3build/l3build.lua |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index c5874d4..f1aa697 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -1656,7 +1656,7 @@ function save(names)
 end
 
 -- Used to actually carry out search-and-replace
-setversion_replace = setversion or function(line, date, version)
+update_line = update_line or function(line, date, version)
   return line
 end
 
@@ -1665,7 +1665,7 @@ function setversion()
     local changed = false
     local lines = ""
     for line in io.lines(file) do
-      local newline = setversion_replace(line, date, version)
+      local newline = update_line(line, date, version)
       if newline ~= line then
         line = newline
         changed = true

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list