trees: don't check empty path in copy_elf()

it could lead to some whackiness later on

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-06-07 12:04:28 +01:00
parent 0b7566cb78
commit 7bfb1d621f
+1
View File
@@ -291,6 +291,7 @@ mkpayload_grub()
copy_elf()
{
[ -n "$listfile" ] || return 0
[ -f "$listfile" ] || return 0
while read -r f; do