rom.sh: don't dry-run mkcoreboottar

same as the last change. make the main function a wrapper
that dry-runs the real function.

if the "dry" variable is blank, it executes.

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2024-07-22 23:46:53 +01:00 committed by Leah Rowe
parent 64e990212a
commit bd517a3d27
1 changed files with 5 additions and 0 deletions

View File

@ -174,6 +174,11 @@ cprom()
} }
mkcoreboottar() mkcoreboottar()
{
$dry realmkcoreboottar
}
realmkcoreboottar()
{ {
[ "$target" = "$tree" ] && return 0; [ "$XBMK_RELEASE" = "y" ] && \ [ "$target" = "$tree" ] && return 0; [ "$XBMK_RELEASE" = "y" ] && \
[ "$release" != "n" ] && $dry mkrom_tarball "bin/$target"; return 0 [ "$release" != "n" ] && $dry mkrom_tarball "bin/$target"; return 0