build/release/roms: handle errors inside subshell

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
Leah Rowe 2023-05-20 19:35:36 +01:00
parent a9bd54423c
commit 681538a20c
1 changed files with 2 additions and 2 deletions

View File

@ -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