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

Commit 7e04762c authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Gather lunch choices before printing prompt"

am: d9f4a668

Change-Id: I68d2a600a6b5b0dea02301a9bef7cc095c249ef8
parents 1adb3e1b d9f4a668
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -575,6 +575,7 @@ function add_lunch_combo()
function print_lunch_menu()
{
    local uname=$(uname)
    local choices=$(TARGET_BUILD_APPS= get_build_var COMMON_LUNCH_CHOICES)
    echo
    echo "You're building on" $uname
    echo
@@ -582,7 +583,7 @@ function print_lunch_menu()

    local i=1
    local choice
    for choice in $(TARGET_BUILD_APPS= get_build_var COMMON_LUNCH_CHOICES)
    for choice in $choices
    do
        echo "     $i. $choice"
        i=$(($i+1))