rom.sh: simplify mkcoreboottar()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-25 05:03:03 +01:00
parent a47e981172
commit 97ce531c34
+3 -6
View File
@@ -253,10 +253,7 @@ cbfs()
mkcoreboottar()
{
[ "$target" = "$tree" ] && return 0
[ "$XBMK_RELEASE" = "y" ] || return 0
[ "$release" != "n" ] || return 0
$dry mkrom_tarball "bin/$target"
$dry x_ ./mk inject "bin/${relname}_${target}.tar.xz" nuke; :
[ "$target" != "$tree" ] && [ "$XBMK_RELEASE" = "y" ] && \
[ "$release" != "n" ] && $dry mkrom_tarball "bin/$target" && \
$dry x_ ./mk inject "bin/${relname}_${target}.tar.xz" nuke; :
}