cli-flash.sh: replace x$varx != xx check with sane declaration (#5713)
Cherrypicked from https://github.com/armbian/build/pull/5689
This commit is contained in:
parent
22c4336de4
commit
ae0f1189bd
@ -15,7 +15,7 @@ function cli_flash_pre_run() {
|
||||
}
|
||||
|
||||
function cli_flash_run() {
|
||||
if [[ "x${BOARD}x" != "xx" ]]; then
|
||||
if [[ -n "${BOARD}" ]]; then
|
||||
use_board="yes" prep_conf_main_minimal_ni < /dev/null # no stdin for this, so it bombs if tries to be interactive.
|
||||
else
|
||||
use_board="no" prep_conf_main_minimal_ni < /dev/null # no stdin for this, so it bombs if tries to be interactive.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user