Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a13cd28e authored by Greg Kaiser's avatar Greg Kaiser
Browse files

Have default 'lunch' target use a release type

In git_main, the correct target here is aosp_arm-trunk_staging-eng
(or "trunk_food" or "next", but we choose the most generic
"trunk_staging").

Bug: 307738446
Test: "lunch", hit return for the default, "echo $TARGET_RELEASE" to confirm
Change-Id: I4d4bcaf27553976e64133c7351db296953f88b08
parent c87fd674
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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))