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: f75204036c ("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 7855378fcd)
This commit is contained in:
Petr Štetiar 2023-05-23 14:17:47 +02:00
parent 7f0db09513
commit 56ffc5a866
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ define SetupHostCommand
;; \ ;; \
esac; \ esac; \
ln -sf "$$$$$$$$bin" "$(STAGING_DIR_HOST)/bin/$(strip $(1))"; \ ln -sf "$$$$$$$$bin" "$(STAGING_DIR_HOST)/bin/$(strip $(1))"; \
exit 1; \ exit 0; \
fi; \ fi; \
fi; \ fi; \
done; \ done; \