[latex3-commits] [l3svn] branch master updated: l3build: Avoid issue with spaces after .map line

noreply at latex-project.org noreply at latex-project.org
Fri Jan 1 20:37:21 CET 2016


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  fa56072   l3build: Avoid issue with spaces after .map line
fa56072 is described below

commit fa56072d1bd693f230464de0f017a936b2891f12
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jan 1 19:37:01 2016 +0000

    l3build: Avoid issue with spaces after .map line
    
    This may or may not be present.
---
 l3build/l3build.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 0b2737f..de2419e 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -772,7 +772,7 @@ function formatlog(logfile, newfile, engine)
       line = string.gsub(line, "%(.*/([%w-]+%.[%w-]+)%)?%s*$", "(../%1")
     end
     -- Zap map loading of map
-    line = string.gsub(line, "%{%w?:?[%w/%-]*/pdftex%.map%}", "")
+    line = string.gsub(line, "%{%w?:?[%w/%-]*/pdftex%.map%} *", "")
     -- Merge all of .fd data into one line so will be removed later
     if string.match(line, "^ *%([%.%/%w]+%.fd[^%)]*$") then
       lastline = (lastline or "") .. line

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


More information about the latex3-commits mailing list