build/release/roms: handle errors inside subshell
Signed-off-by: Leah Rowe <leah@libreboot.org>fsdg20230625
parent
a9bd54423c
commit
681538a20c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue