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>
This commit is contained in:
Brandon McAnsh 2015-07-01 12:04:25 -04:00 committed by Gerrit Code Review
parent 3f7699f1fd
commit a0040cad7d
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
for combo in $(curl -s https://raw.githubusercontent.com/CyanogenMod/hudson/master/cm-build-targets | sed -e 's/#.*$//' | grep cm-12.1 | awk {'print $1'})
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