Lines Matching refs:ANSWER
265 local ANSWER
270 read ANSWER
273 ANSWER=$1
275 case $ANSWER in
320 local ANSWER
325 read ANSWER
328 ANSWER=$1
331 if [ -z "$ANSWER" ] ; then
334 if check_product $ANSWER
336 export TARGET_PRODUCT=$ANSWER
338 echo "** Not a valid product: $ANSWER"
363 local ANSWER
370 read ANSWER
373 ANSWER=$1
376 if [ -z "$ANSWER" ] ; then
378 elif (echo -n $ANSWER | grep -q -e "^[0-9][0-9]*$") ; then
379 if [ "$ANSWER" -le "${#VARIANT_CHOICES[@]}" ] ; then
380 export TARGET_BUILD_VARIANT=${VARIANT_CHOICES[$(($ANSWER-1))]}
383 if check_variant $ANSWER
385 export TARGET_BUILD_VARIANT=$ANSWER
387 echo "** Not a valid variant: $ANSWER"
455 local answer
458 answer=$1
462 read answer
467 if [ -z "$answer" ]
470 elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")
472 if [ $answer -le ${#LUNCH_MENU_CHOICES[@]} ]
474 selection=${LUNCH_MENU_CHOICES[$(($answer-1))]}
476 elif (echo -n $answer | grep -q -e "^[^\-][^\-]*-[^\-][^\-]*$")
478 selection=$answer
484 echo "Invalid lunch combo: $answer"