Small bugfix. If EXPERT is not set to yes we got error when we choose a board with DEV only target. By accepting this developers warning we have to get full expert status anyway.

This commit is contained in:
Igor Pecovnik 2018-09-08 09:49:08 +02:00
parent 93ae28f78d
commit dfc27eb741

View file

@ -142,10 +142,12 @@ if [[ -z $BOARD ]]; then
STATE_DESCRIPTION=' - \Z1(CSC)\Zn - Community Supported Configuration\n - \Z1(WIP)\Zn - Work In Progress\n - \Z1(EOS)\Zn - End Of Support' STATE_DESCRIPTION=' - \Z1(CSC)\Zn - Community Supported Configuration\n - \Z1(WIP)\Zn - Work In Progress\n - \Z1(EOS)\Zn - End Of Support'
WIP_STATE=unsupported WIP_STATE=unsupported
WIP_BUTTON='supported' WIP_BUTTON='supported'
EXPERT=yes
else else
STATE_DESCRIPTION=' - Officially supported boards' STATE_DESCRIPTION=' - Officially supported boards'
WIP_STATE=supported WIP_STATE=supported
WIP_BUTTON='CSC/WIP/EOS' WIP_BUTTON='CSC/WIP/EOS'
EXPERT=no
fi fi
continue continue
elif [[ $STATUS == 0 ]]; then elif [[ $STATUS == 0 ]]; then