mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
vendor/inject: fix dodgy error check (cd command)
the x_ function doesn't handle arguments with spaces well, and this cd command is going to an asterisk, so it's unknown what the resultant string will be. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Vendored
+2
-1
@@ -124,7 +124,8 @@ patch_release_roms()
|
||||
done
|
||||
|
||||
(
|
||||
x_ cd "${_tmpdir}/bin/"* # TODO: very dodgy, re-write accordingly
|
||||
cd "${_tmpdir}/bin/"* || \
|
||||
err "patch_release_roms: !cd ${_tmpdir}/bin/*"
|
||||
|
||||
# NOTE: For compatibility with older rom releases, defer to sha1
|
||||
[ "${nukemode}" = "nuke" ] || sha512sum --status -c vendorhashes || \
|
||||
|
||||
Reference in New Issue
Block a user