mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-27 00:28:25 +00:00
Bugfix
This commit is contained in:
parent
7a79556dd2
commit
d68afa60ca
1 changed files with 1 additions and 1 deletions
2
main.sh
2
main.sh
|
@ -98,7 +98,7 @@ prepare_host
|
||||||
if [[ -z $KERNEL_ONLY ]]; then
|
if [[ -z $KERNEL_ONLY ]]; then
|
||||||
options+=("yes" "Kernel and u-boot packages")
|
options+=("yes" "Kernel and u-boot packages")
|
||||||
options+=("no" "OS image for installation to SD card")
|
options+=("no" "OS image for installation to SD card")
|
||||||
KERNEL_ONLY=$(dialog $EXTRAFIELD --stdout --title "Choose an option" --backtitle "$backtitle" --no-tags --menu "Select what to build" \
|
KERNEL_ONLY=$(dialog --stdout --title "Choose an option" --backtitle "$backtitle" --no-tags --menu "Select what to build" \
|
||||||
$TTY_Y $TTY_X $(($TTY_Y - 8)) "${options[@]}")
|
$TTY_Y $TTY_X $(($TTY_Y - 8)) "${options[@]}")
|
||||||
unset options
|
unset options
|
||||||
[[ -z $KERNEL_ONLY ]] && exit_with_error "No option selected"
|
[[ -z $KERNEL_ONLY ]] && exit_with_error "No option selected"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue