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"
|
> "${romdir}/blobhashes"
|
||||||
fi
|
fi
|
||||||
(
|
(
|
||||||
cd ${romdir}
|
cd ${romdir} || err "subshell: cd"
|
||||||
sha1sum *.rom >> blobhashes
|
sha1sum *.rom >> blobhashes || err "subshell: sha1sum"
|
||||||
)
|
)
|
||||||
|
|
||||||
for romfile in "${romdir}"/*.rom
|
for romfile in "${romdir}"/*.rom
|
||||||
|
|
Loading…
Reference in New Issue