diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-07 12:04:28 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-07 12:04:28 +0100 |
commit | 7bfb1d621fc63559dbe4cbe5e938836006d27f16 (patch) | |
tree | 39d916c0729929e51cbd125b02576b07e1ed90f5 /script/trees | |
parent | 0b7566cb7876500fdd4e6441c23f8cf68562ea0b (diff) |
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>
Diffstat (limited to 'script/trees')
-rwxr-xr-x | script/trees | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/trees b/script/trees index 48e2b6fa..9cceeab4 100755 --- a/script/trees +++ b/script/trees @@ -291,6 +291,7 @@ mkpayload_grub() copy_elf() { + [ -n "$listfile" ] || return 0 [ -f "$listfile" ] || return 0 while read -r f; do |