mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
minor code cleanup in the build system
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+3
-4
@@ -152,10 +152,9 @@ configure_target()
|
||||
|
||||
[ -n "$_scandisk" ] && grub_scan_disk="$_scandisk"
|
||||
[ -z "$grub_scan_disk" ] && grub_scan_disk="nvme ahci ata"
|
||||
_ata=""
|
||||
_ahci=""
|
||||
_nvme=""
|
||||
_grub_scan_disk=""
|
||||
|
||||
eval "$(setvars "" _ata _ahci _nvme _grub_scan_disk)"
|
||||
|
||||
for _disk in $grub_scan_disk; do
|
||||
[ "$_disk" != "nvme" ] && [ "$_disk" != "ahci" ] && \
|
||||
[ "$_disk" != "ata" ] && _grub_scan_disk="nvme ahci ata" \
|
||||
|
||||
Reference in New Issue
Block a user