prereq: SetupHostCommand: fix wrong check result
authorPetr Štetiar <ynezz@true.cz>
Tue, 23 May 2023 12:17:47 +0000 (14:17 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 May 2023 19:41:39 +0000 (21:41 +0200)
commit56ffc5a86676b105e806734e722f581f8ccb2a2a
tree8c25260009f8de69a53573ba4f84e7705d684bc6
parent7f0db09513c88e9c68f121d33cf56754e967b349
prereq: SetupHostCommand: fix wrong check result

Tony has reported, that CI tools job is failing for him in macOS
container due to prereq check failure for GNU `install` utility.

Michael diagnosed it and from his traces it was clear, that the issue is
caused by a wrong return value in the success check case, so lets fix it
accordingly.

Fixes: f75204036ccc ("prereq-build: allow host command symlinks to update")
Reported-by: Tony Ambardar <itugrok@yahoo.com>
Diagnosed-by: Michael Pratt <mcpratt@pm.me>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 7855378fcd7ed7cb0a223238a99bac0b8e46c380)
include/prereq.mk