diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-11-26 18:51:42 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:09:32 -0700 |
commit | 780fb5fc8f4bfbff888a7ab08dd517befd970e60 (patch) | |
tree | 40422f8f46ae8be722f6a0860930788718419de8 /envsetup.sh | |
parent | ae9f61b6717553eff9295ca93a959000306381ee (diff) | |
download | build-780fb5fc8f4bfbff888a7ab08dd517befd970e60.zip build-780fb5fc8f4bfbff888a7ab08dd517befd970e60.tar.gz build-780fb5fc8f4bfbff888a7ab08dd517befd970e60.tar.bz2 |
roomservice delivers you lunch combos from the CyanogenMod github.
fix roomservice formatting
support product names with _ in them
fix roomservice to handle pagination
Change-Id: I4923c2f768094dbad8e06a72d9f27d46414030ab
Diffstat (limited to 'envsetup.sh')
-rw-r--r-- | envsetup.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh index ae1e4c5..e1dd6ea 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -540,6 +540,15 @@ function lunch() check_product $product if [ $? -ne 0 ] then + # if we can't find a product, try to grab it off the CM github + T=$(gettop) + pushd $T > /dev/null + build/tools/roomservice.py $product + popd > /dev/null + check_product $product + fi + if [ $? -ne 0 ] + then echo echo "** Don't have a product spec for: '$product'" echo "** Do you have the right repo manifest?" |