From 6c7e3ce2d6e92e916a55eb96a86f1c67de590bfc Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 30 Dec 2024 18:38:42 +0000 Subject: trees: remove unnecessary subshell Signed-off-by: Leah Rowe --- script/trees | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'script/trees') diff --git a/script/trees b/script/trees index a86048b4..6bf00e18 100755 --- a/script/trees +++ b/script/trees @@ -207,10 +207,8 @@ check_cross_compiler() xfix="${_xarch%-*}" && [ "$xfix" = "x86_64" ] && xfix="x64" # match gnat-X to gcc - ( check_gnu_path gcc gnat || check_gnu_path gnat gcc || \ - $err "Host GCC/GNAT mismatch" - ) || $err "Cannot match host GCC/GNAT versions" + $err "Cannot match host GCC/GNAT versions" # sometimes buildgcc fails for like no reason. try twice. make -C "$cbdir" crossgcc-$xfix $xgccargs || \ -- cgit v1.2.1