platform_vendor_tequila/vendorsetup.sh
Brandon McAnsh a0040cad7d vendorsetup: Handle new jenkins build parameters
* 21c0d29e00 broke the previous way of adding lunch targets, as it was
    adding a 'bacon' target instead of the full lunch-able target (cm_bacon-$variant).
* use printf and format the combo during the parsing

Change-Id: I0d2c4716bf17cb1a85333662f941d454d0b74e6a
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-07-01 11:40:48 -07:00

4 lines
209 B
Bash

for combo in $(curl -s https://raw.githubusercontent.com/CyanogenMod/hudson/master/cm-build-targets | sed -e 's/#.*$//' | grep cm-12.1 | awk '{printf "cm_%s-%s\n", $1, $2}')
do
add_lunch_combo $combo
done