summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-11-15 16:57:48 +0000
committerLeah Rowe <leah@libreboot.org>2025-11-15 16:57:48 +0000
commit1b10c072d3c008de033a763bea846fc9abc5187e (patch)
treeab858a93286d6cd1af111c08e7bc6a23aeb3fea4
parent7ef7e02f7325026c15c34fe8114d7d465e206a41 (diff)
tree.sh: tidy up check_gnu_pathHEADmaster
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/tree.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tree.sh b/include/tree.sh
index 166a3d86..8496a49a 100644
--- a/include/tree.sh
+++ b/include/tree.sh
@@ -532,9 +532,7 @@ check_gnu_path()
if host_gcc_gnat_match "$@"; then
return 0
- fi
-
- if ! match_gcc_gnat_versions "$@"; then
+ elif ! match_gcc_gnat_versions "$@"; then
return 1
fi
}