trivial fix
This commit is contained in:
parent
41bbbcbebd
commit
290fc52cad
@ -792,9 +792,9 @@ local function txt2xml(text)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function genmetainfo(table)
|
local function genmetainfo(table)
|
||||||
local xmlfontname = '$(cmd=$(for f in %{buildroot}' .. table.filename .. '; do fc-scan "$f" -f "echo \\\\\" <font>%{fullname[0]}</font>\\\\\";"; done); if test x"$cmd" != x; then echo "echo \\\\\" <provides>\\\\\"; $cmd echo \\\\\" </provides>\\\\\""|sh; fi|grep -v "font></font")'
|
local xmlfontname = '$(cmd=$(for f in %{buildroot}' .. table.filename .. '; do fc-scan "$f" -f "echo \\\\\" <font>%{fullname[0]}</font>\\\\\";"; sync; done); if test x"$cmd" != x; then echo "echo \\\\\" <provides>\\\\\"; $cmd echo \\\\\" </provides>\\\\\""|sh; fi|grep -v "font></font")'
|
||||||
local xmlfontlang = '$(cmd=$(for f in %{buildroot}' .. table.filename .. '; do fc-scan "$f" -f "%{[]lang{echo \\\\\" <lang>%{lang}</lang>\\\\\";}}"; done); if test x"$cmd" != x; then echo "echo \\\\\" <languages>\\\\\"; ($cmd)|sort -u; echo \\\\\" </languages>\\\\\""|sh; fi)'
|
local xmlfontlang = '$(cmd=$(for f in %{buildroot}' .. table.filename .. '; do fc-scan "$f" -f "%{[]lang{echo \\\\\" <lang>%{lang}</lang>\\\\\";}}"; sync; done); if test x"$cmd" != x; then echo "echo \\\\\" <languages>\\\\\"; ($cmd)|sort -u; echo \\\\\" </languages>\\\\\""|sh; fi)'
|
||||||
local xml = [[
|
local xml = [[
|
||||||
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
|
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
|
||||||
<!-- $PDX-License-Identifier: MIT -->\
|
<!-- $PDX-License-Identifier: MIT -->\
|
||||||
<component type=\"font\">\
|
<component type=\"font\">\
|
||||||
|
Loading…
Reference in New Issue
Block a user