From e42cb4f4cd513f512397ff7a46b6174b39a9708e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 26 Sep 2025 00:09:46 +0100 Subject: xbmk: tidy up some if statements this is an extension of the previous work to unroll most of the condensed code lines. Signed-off-by: Leah Rowe --- include/rom.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/rom.sh') diff --git a/include/rom.sh b/include/rom.sh index a105ea3a..30d07d28 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -197,7 +197,6 @@ mkcorebootbin_real() if [ -z "$grub_scan_disk" ]; then grub_scan_disk="nvme ahci ata" fi - if [ -z "$grubtree" ]; then grubtree="default" fi @@ -408,7 +407,6 @@ cprom() if [ -n "$displaymode" ]; then newrom="${newrom%.rom}_$displaymode.rom" fi - if [ $# -gt 0 ] && [ "${1%.gkb}" != "$1" ]; then tmpnew="${1##*/}" newrom="${newrom%.rom}_${tmpnew%.gkb}.rom" -- cgit v1.2.1