mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 06:49:52 +02:00
trees: remove unnecessary check in copy_elf
we don't need to check whether this variable is set, because checking an empty path will also cause the same return in the next line. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -293,7 +293,6 @@ mkpayload_grub()
|
|||||||
|
|
||||||
copy_elf()
|
copy_elf()
|
||||||
{
|
{
|
||||||
[ -n "$listfile" ] || return 0
|
|
||||||
[ -f "$listfile" ] || return 0
|
[ -f "$listfile" ] || return 0
|
||||||
|
|
||||||
x_ mkdir -p "$dest_dir"
|
x_ mkdir -p "$dest_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user