mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
vendor.sh: add missing error handle on sha512sum
it's still outputting to a file, with an error handle there, but use of x_ on the sha512sum command itself adds further assurance of reliability. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -316,7 +316,7 @@ prep()
|
||||
mksha512()
|
||||
{
|
||||
[ "${1%/*}" != "$1" ] && x_ cd "${1%/*}"
|
||||
sha512sum ./"${1##*/}" >> "$2" || \
|
||||
x_ sha512sum ./"${1##*/}" >> "$2" || \
|
||||
err "!sha512sum \"$1\" > \"$2\"" "mksha512" "$@"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user