From 1b10c072d3c008de033a763bea846fc9abc5187e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 15 Nov 2025 16:57:48 +0000 Subject: tree.sh: tidy up check_gnu_path Signed-off-by: Leah Rowe --- include/tree.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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 } -- cgit v1.2.1