[latex3-commits] [git/LaTeX3-latex3-l3build] master: don't print ?? when value is "false" (170841a)
Will Robertson
wspr81 at gmail.com
Mon Jan 7 13:44:02 CET 2019
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/170841a5e2e2644818103117f9b5ad7b85d21ab0
>---------------------------------------------------------------
commit 170841a5e2e2644818103117f9b5ad7b85d21ab0
Author: Will Robertson <wspr81 at gmail.com>
Date: Mon Jan 7 20:44:02 2019 +0800
don't print ?? when value is "false"
>---------------------------------------------------------------
170841a5e2e2644818103117f9b5ad7b85d21ab0
l3build-upload.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/l3build-upload.lua b/l3build-upload.lua
index 2b0feee..fad88e4 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -202,7 +202,9 @@ end
function ctan_single_field(fname,fvalue,max,desc,mandatory)
- print('ctan-post: ' .. fname .. ' ' ..tostring(fvalue or '??'))
+ local fvalueprint = fvalue
+ if fvalue == nil then fvalueprint = '??' end
+ print('ctan-upload | ' .. fname .. ': ' ..tostring(fvalueprint))
if ((fvalue==nil and mandatory) or (fvalue == 'ask')) then
if (max < 256) then
fvalue=input_single_line_field(fname)
More information about the latex3-commits
mailing list