summaryrefslogtreecommitdiff
path: root/include/rom.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-26 00:09:46 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-26 00:09:46 +0100
commite42cb4f4cd513f512397ff7a46b6174b39a9708e (patch)
treeab6ba25c737cfa17ed6bc6eb9e1c4f5419ff892b /include/rom.sh
parentf5060232e16ab1c041f0108a5f65d8f96f79756d (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r--include/rom.sh2
1 files changed, 0 insertions, 2 deletions
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"