Hi Bertrand,
On 20/05/2022 11:49, Bertrand Marquis wrote:
If cppcheck is not present, the following warning appears during build:
which: no cppcheck in ([...])
/bin/sh: cppcheck: command not found
Fix this by hiding the error output from which and only try to execute
cppcheck --version if we have a cppcheck.
Reported-by: Julien Grall <[email protected]>
Signed-off-by: Bertrand Marquis <[email protected]>
This solves the warning so:
Acked-by: Julien Grall <[email protected]>
In the long term, I think using what Jan suggested would be better.
Cheers,
--
Julien Grall