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>
3050wip
Leah Rowe 2024-07-22 23:46:53 +01:00
parent a91751a86b
commit 3bd290f6a6
1 changed files with 5 additions and 0 deletions

View File

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