mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
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:
+1
-1
@@ -290,7 +290,7 @@ mkpayload_grub()
|
|||||||
|
|
||||||
copy_elf()
|
copy_elf()
|
||||||
{
|
{
|
||||||
[ -z "$listfile" ] && return 0
|
[ -f "$listfile" ] || return 0
|
||||||
|
|
||||||
while read -r f; do
|
while read -r f; do
|
||||||
[ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir"
|
[ -f "$cdir/$f" ] && x_ cp "$cdir/$f" "$dest_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user