[PATCH] Makefile: fix shell error for darwin major/minor version check

Tom Rini trini at konsulko.com
Tue Feb 7 17:53:27 CET 2023


On Sun, Jan 22, 2023 at 01:42:10AM +0100, Christian Marangi wrote:

> Fix shell error:
>  /bin/sh: line 0: [: too many arguments
> 
> for the darwin major/minor version check.
> 
> It seems for os_x_before for some reason DARWIN_MAJOR_VERSION and
> DARWIN_MINOR_VERSION are empty. To fix this set DARWIN_MAJOR_VERSION
> and DARWIN_MINOR_VERSION to be evaluated once so the value is retained.
> 
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230207/0cf412f6/attachment.sig>


More information about the U-Boot mailing list