[latex3-commits] [l3svn] 02/03: l3build: Forgot to make versionform optional

noreply at latex-project.org noreply at latex-project.org
Fri Oct 9 10:04:44 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 c0fc3d24a2d59d5273ec3b5d5f3091019f1645fb
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 9 09:01:12 2015 +0100

    l3build: Forgot to make versionform optional
    
    Now it is, another issue also shows up!
---
 l3build/l3build.lua |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index b6ed55c..7ea6b9b 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -152,7 +152,7 @@ checkruns    = checkruns    or 1
 packtdszip   = packtdszip   or false -- Not actually needed but clearer
 scriptname   = scriptname   or "build.lua" -- Script used in each directory
 typesetcmds  = typesetcmds  or ""
-versionform  = ""
+versionform  = versionform  or ""
 
 -- Extensions for various file types: used to abstract out stuff a bit
 bakext = bakext or ".bak"
@@ -1701,7 +1701,7 @@ if versionform ~= "" and not setversion_update_line then
           line = string.gsub(
             line,
             "{%d%d%d%d/%d%d/%d%d}( *){[^}]*}",
-            "{" .. date .. "}%1{" .. version "}"
+            "{" .. 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