mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
build/release/roms: handle errors inside subshell
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -132,8 +132,8 @@ purge_blobs()
|
||||
> "${romdir}/blobhashes"
|
||||
fi
|
||||
(
|
||||
cd ${romdir}
|
||||
sha1sum *.rom >> blobhashes
|
||||
cd ${romdir} || err "subshell: cd"
|
||||
sha1sum *.rom >> blobhashes || err "subshell: sha1sum"
|
||||
)
|
||||
|
||||
for romfile in "${romdir}"/*.rom
|
||||
|
||||
Reference in New Issue
Block a user