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 <leah@libreboot.org>
This commit is contained in:
parent
9168d33741
commit
c88fb8c129
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,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"
|
||||
|
|
Loading…
Reference in a new issue