From dea41f138a0802d73da118c0f17cf50d3d66ea1e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 10:31:01 +0100 Subject: trees: don't do elfcheck if build.list missing otherwise, some checks are done too soon, and nothing gets built. Signed-off-by: Leah Rowe --- script/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/trees') diff --git a/script/trees b/script/trees index 5c473970..45d2a35e 100755 --- a/script/trees +++ b/script/trees @@ -60,7 +60,7 @@ build_projects() [ -f "$listfile" ] || listfile="" # optional on single-tree dest_dir="$elfdir" - elfcheck || return 0 + [ ! -f "$listfile" ] || elfcheck || return 0 cdir="src/${project}" [ -d "$cdir" ] || x_ ./update trees -f "$project" -- cgit v1.2.1