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

Commit 47bebaca authored by Anton Hansson's avatar Anton Hansson Committed by Automerger Merge Worker
Browse files

Merge "Add help message for likely typo to lunch" am: 757e2e1f

Original change: https://android-review.googlesource.com/c/platform/build/+/1736893

Change-Id: I3ed2ca1d5f2039f955db4f6d5a1401b4e7b307b8
parents 61a1d6d7 757e2e1f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -703,6 +703,10 @@ function lunch()
    build_build_var_cache
    if [ $? -ne 0 ]
    then
        if [[ "$product" =~ .*_(eng|user|userdebug) ]]
        then
            echo "Did you mean -${product/*_/}? (dash instead of underscore)"
        fi
        return 1
    fi
    export TARGET_PRODUCT=$(get_build_var TARGET_PRODUCT)