summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-07 12:04:28 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-07 12:04:28 +0100
commit7bfb1d621fc63559dbe4cbe5e938836006d27f16 (patch)
tree39d916c0729929e51cbd125b02576b07e1ed90f5 /script
parent0b7566cb7876500fdd4e6441c23f8cf68562ea0b (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')
-rwxr-xr-xscript/trees1
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