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

Unverified Commit 35593611 authored by Chirayu Desai's avatar Chirayu Desai Committed by Michael Bestas
Browse files

envsetup: fix lunch

Change-Id: I9dea4605857741132b8d10143c20d4bd7829086a
parent 90541ad5
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -683,9 +683,7 @@ function lunch()
    fi

    local product=$(echo -n $selection | sed -e "s/-.*$//")
    TARGET_PRODUCT=$product \
    TARGET_BUILD_VARIANT=$variant \
    build_build_var_cache
    check_product $product
    if [ $? -ne 0 ]
    then
        # if we can't find a product, try to grab it off the CM github
@@ -697,6 +695,10 @@ function lunch()
    else
        build/tools/roomservice.py $product true
    fi
    TARGET_PRODUCT=$product \
    TARGET_BUILD_VARIANT=$variant \
    build_build_var_cache

    if [ $? -ne 0 ]
    then
        echo