From 413f4db585bdf1a4680796c91d3357fa3dbc2f7c Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Tue, 28 Aug 2018 20:38:47 +0200 Subject: [PATCH] BuildSystem: Fix font list We want to add the individual strings to the list and not add a list object to the list. Without this patch, sorting failed because "str < list" is not a valid operation in python. (cherry picked from commit f3125823268c414e7538d440cffe3c8a95294cad) --- editor/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/SCsub b/editor/SCsub index 8709d8618c..36ca0b2425 100644 --- a/editor/SCsub +++ b/editor/SCsub @@ -448,7 +448,7 @@ if env['tools']: # Fonts flist = glob.glob(path + "/../thirdparty/fonts/*.ttf") - flist.append(glob.glob(path + "/../thirdparty/fonts/*.otf")) + flist.extend(glob.glob(path + "/../thirdparty/fonts/*.otf")) env.Depends('#editor/builtin_fonts.gen.h', flist) env.CommandNoCache('#editor/builtin_fonts.gen.h', flist, make_fonts_header)