summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-19 06:30:32 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-19 06:30:32 +0100
commitb40118ae59b2a48d7287bdcebd2314b0184d4806 (patch)
treee4de80d8827fd0ae649d0c2ab7a73467fa11a925 /script/trees
parent998f30ad4d58d176429e47feafbbf6b709c27f1d (diff)
minor code cleanup in the build system
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/trees b/script/trees
index 3b126e56..f2b988f1 100755
--- a/script/trees
+++ b/script/trees
@@ -230,8 +230,7 @@ check_cmake()
check_makefile "${1}" || \
$err "check_cmake ${1}: can't cmake ${cmakedir}"
[ -z "${cmakedir}" ] || check_makefile "${1}" || \
- $err "check_cmake ${1}: could not generate Makefile"
- return 0
+ $err "check_cmake ${1}: can't generate Makefile"; return 0
}
check_autoconf()