mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 14:36:31 +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"
|
> "${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
|
||||||
|
|||||||
Reference in New Issue
Block a user