From adcae003779524c4e1b9fe788cd3615ed9dd7cc6 Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Fri, 28 Jul 2023 15:09:48 +0300 Subject: [PATCH] Crutch for the selector --- building.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building.sh b/building.sh index 5edd6be..d05a115 100755 --- a/building.sh +++ b/building.sh @@ -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")