From db09530905de6bbd41395ca592a3ca9f1b959f05 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 10:31:01 +0100 Subject: [PATCH] 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(-) diff --git a/script/trees b/script/trees index 9ab8ff4..f735553 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"