summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-12-30 18:38:42 +0000
committerLeah Rowe <leah@libreboot.org>2024-12-30 18:38:42 +0000
commit6c7e3ce2d6e92e916a55eb96a86f1c67de590bfc (patch)
treecb17261227e465161d6f7735306d7553330861cd /script
parentad137eae89dd05254b7cfe9cc5816616f640749e (diff)
trees: remove unnecessary subshell
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees4
1 files changed, 1 insertions, 3 deletions
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 || \