Lines Matching refs:variant
168 local variant=$TARGET_BUILD_VARIANT
171 …export PROMPT_COMMAND="echo -ne \"\033]0;[${product}-${variant}] ${USER}@${HOSTNAME}: ${PWD}\007\""
173 … export PROMPT_COMMAND="echo -ne \"\033]0;[$apps $variant] ${USER}@${HOSTNAME}: ${PWD}\007\""
520 local variant=$(echo -n $selection | sed -e "s/^[^\-]*-//")
521 check_variant $variant
525 echo "** Invalid variant: '$variant'"
527 variant=
530 if [ -z "$product" -o -z "$variant" ]
537 export TARGET_BUILD_VARIANT=$variant
552 local variant=$(echo -n $(echo $* | xargs -n 1 echo | grep -E '^(user|userdebug|eng)$'))
555 if [ $(echo $variant | wc -w) -gt 1 ]; then
556 echo "tapas: Error: Multiple build variants supplied: $variant"
559 if [ -z "$variant" ]; then
560 variant=eng
567 export TARGET_BUILD_VARIANT=$variant