From 14bcdd1c3ab785bf1a2348a6d845c34d66cd25a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 1 Dec 2018 20:05:50 +0100 Subject: [PATCH] donate-cpu: fix syntax error --- tools/donate-cpu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index a8910f3d9..c602e9524 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -208,9 +208,9 @@ def scanPackage(workPath, cppcheck, jobs): print('Analyze..') os.chdir(workPath) libraries = ' --library=posix' - if hasInclude(''): + if hasInclude('temp', ''): libraries += ' --library=wxwidgets' - if hasInclude(''): + if hasInclude('temp', ''): libraries += ' --library=qt' cmd = 'nice ' + cppcheck + ' ' + jobs + libraries + ' -D__GCC__ --inconclusive --enable=style --platform=unix64 --template=daca2 -rp=temp temp' print(cmd)