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>9020vga
parent
f44b99c808
commit
392932797b
|
@ -124,7 +124,8 @@ patch_release_roms()
|
||||||
done
|
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
|
# NOTE: For compatibility with older rom releases, defer to sha1
|
||||||
[ "${nukemode}" = "nuke" ] || sha512sum --status -c vendorhashes || \
|
[ "${nukemode}" = "nuke" ] || sha512sum --status -c vendorhashes || \
|
||||||
|
|
Loading…
Reference in New Issue