Home | History | Annotate | Download | only in build

Lines Matching refs:answer

228     local ANSWER
233 read ANSWER
236 ANSWER=$1
238 case $ANSWER in
283 local ANSWER
288 read ANSWER
291 ANSWER=$1
294 if [ -z "$ANSWER" ] ; then
297 if check_product $ANSWER
299 export TARGET_PRODUCT=$ANSWER
301 echo "** Not a valid product: $ANSWER"
326 local ANSWER
333 read ANSWER
336 ANSWER=$1
339 if [ -z "$ANSWER" ] ; then
341 elif (echo -n $ANSWER | grep -q -e "^[0-9][0-9]*$") ; then
342 if [ "$ANSWER" -le "${#VARIANT_CHOICES[@]}" ] ; then
343 export TARGET_BUILD_VARIANT=${VARIANT_CHOICES[$(($ANSWER-1))]}
346 if check_variant $ANSWER
348 export TARGET_BUILD_VARIANT=$ANSWER
350 echo "** Not a valid variant: $ANSWER"
417 local answer
420 answer=$1
424 read answer
429 if [ -z "$answer" ]
432 elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")
434 if [ $answer -le ${#LUNCH_MENU_CHOICES[@]} ]
436 selection=${LUNCH_MENU_CHOICES[$(($answer-1))]}
438 elif (echo -n $answer | grep -q -e "^[^\-][^\-]*-[^\-][^\-]*$")
440 selection=$answer
446 echo "Invalid lunch combo: $answer"