vendor.sh: tidy up check_release()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-04-12 17:10:49 +01:00
parent 409cab39c5
commit cb36248c8c
+2 -1
View File
@@ -416,7 +416,8 @@ check_release()
{
[ -L "$archive" ] && \
$err "'$archive' is a symlink, not a file - $dontflash"
[ -f "$archive" ] || return 1
e "$archive" f missing && return 1
archivename="`basename "$archive"`"
[ -z "$archivename" ] && \
$err "Cannot determine archive file name - $dontflash"