From 7aa9f2240979950f88a3e686b765499be1e10ea6 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 10:35:38 +0100 Subject: trees: fix listfile check in copy_elf() don't check that the variable is empty check that the file itself exists or not this should fix the recent build issues Signed-off-by: Leah Rowe --- script/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/trees b/script/trees index 34397edd..98bef371 100755 --- a/script/trees +++ b/script/trees @@ -290,7 +290,7 @@ mkpayload_grub() copy_elf() { - [ -z "$listfile" ] && return 0 + [ -f "$listfile" ] || return 0 while read -r f; do [ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir" -- cgit v1.2.1