rom.sh: only make rom tarball if release=y

Signed-off-by: Leah Rowe <info@minifree.org>
audit2
Leah Rowe 2024-07-08 02:21:52 +01:00
parent e01995d491
commit 2dad7b0b6f
1 changed files with 2 additions and 2 deletions

View File

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