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

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

View File

@ -117,6 +117,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
}