Home | History | Annotate | Download | only in build

Lines Matching refs:answer

346     local ANSWER
351 read ANSWER
354 ANSWER=$1
356 case $ANSWER in
404 local ANSWER
409 read ANSWER
412 ANSWER=$1
415 if [ -z "$ANSWER" ] ; then
418 if check_product $ANSWER
420 export TARGET_PRODUCT=$ANSWER
422 echo "** Not a valid product: $ANSWER"
449 local ANSWER
456 read ANSWER
459 ANSWER=$1
462 if [ -z "$ANSWER" ] ; then
464 elif (echo -n $ANSWER | grep -q -e "^[0-9][0-9]*$") ; then
465 if [ "$ANSWER" -le "${#VARIANT_CHOICES[@]}" ] ; then
466 export TARGET_BUILD_VARIANT=${VARIANT_CHOICES[$(($ANSWER-1))]}
469 if check_variant $ANSWER
471 export TARGET_BUILD_VARIANT=$ANSWER
473 echo "** Not a valid variant: $ANSWER"
545 local answer
548 answer=$1
552 read answer
557 if [ -z "$answer" ]
560 elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")
562 if [ $answer
564 selection=${LUNCH_MENU_CHOICES[$(($answer-1))]}
566 elif (echo -n $answer | grep -q -e "^[^\-][^\-]*-[^\-][^\-]*$")
568 selection=$answer
574 echo "Invalid lunch combo: $answer"