Crutch for the selector

pull/5/head
Igor Zalatov (from Citadel PC) 2023-07-28 15:09:48 +03:00
parent 003e51184e
commit adcae00377
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ copy_to_tftp() {
}
select_project() {
AVAILABLE_PROJECTS=$(ls -1 ${COMPOSER_DIR}/projects)
AVAILABLE_PROJECTS=$(ls -1 ${COMPOSER_DIR}/projects | grep '_')
cmd="whiptail --title \"Available projects\" --menu \"Please select a project from the list below:\" 25 78 16"
for p in $AVAILABLE_PROJECTS; do cmd="${cmd} \"$p\" \"\""; done
PROJECT=$(eval "${cmd} 3>&1 1>&2 2>&3")