mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-16 03:41:26 +00:00
Display WiP boards only when 'EXPERT=yes' is set
https://forum.armbian.com/index.php?/topic/4365-armbian-ver-3-failed-from-build-tools/&do=findComment&comment=32527
This commit is contained in:
parent
a88b5f8ca1
commit
57c507bc31
1 changed files with 2 additions and 2 deletions
4
main.sh
4
main.sh
|
@ -114,7 +114,7 @@ EXT='conf'
|
|||
if [[ -z $BOARD ]]; then
|
||||
WIP_STATE='supported'
|
||||
WIP_BUTTON='WIP'
|
||||
[[ -n $(find $SRC/lib/config/boards/ -name '*.wip' -print -quit) ]] && DIALOG_EXTRA="--extra-button"
|
||||
[[ -n $(find $SRC/lib/config/boards/ -name '*.wip' -print -quit) && $EXPERT = "yes" ]] && DIALOG_EXTRA="--extra-button"
|
||||
while true; do
|
||||
options=()
|
||||
for board in $SRC/lib/config/boards/*.${EXT}; do
|
||||
|
@ -257,4 +257,4 @@ fi
|
|||
|
||||
end=`date +%s`
|
||||
runtime=$(((end-start)/60))
|
||||
display_alert "Runtime" "$runtime min" "info"
|
||||
display_alert "Runtime" "$runtime min" "info"
|
||||
|
|
Loading…
Add table
Reference in a new issue