Merge "Have default 'lunch' target use a release type" into main

This commit is contained in:
Greg Kaiser 2023-10-25 20:19:37 +00:00 committed by Gerrit Code Review
commit 6787354f96

View file

@ -774,7 +774,7 @@ function lunch()
answer=$1
else
print_lunch_menu
echo "Which would you like? [aosp_arm-eng]"
echo "Which would you like? [aosp_arm-trunk_staging-eng]"
echo -n "Pick from common choices above (e.g. 13) or specify your own (e.g. aosp_barbet-eng): "
read answer
used_lunch_menu=1
@ -784,7 +784,7 @@ function lunch()
if [ -z "$answer" ]
then
selection=aosp_arm-eng
selection=aosp_arm-trunk_staging-eng
elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")
then
local choices=($(TARGET_BUILD_APPS= get_build_var COMMON_LUNCH_CHOICES))