[PATCH] Makefile: fix shell error for darwin major/minor version check
Simon Glass
sjg at chromium.org
Mon Jan 23 19:49:57 CET 2023
On Sat, 21 Jan 2023 at 17:42, Christian Marangi <ansuelsmth at gmail.com> 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>
> ---
> Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list