From a0040cad7dcc65d312e183e3d7884897b1b58d35 Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Wed, 1 Jul 2015 12:04:25 -0400 Subject: [PATCH] vendorsetup: Handle new jenkins build parameters * https://github.com/CyanogenMod/hudson/commit/21c0d29e0038cfb61d8e1fd404fb162fe385a093 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 --- vendorsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendorsetup.sh b/vendorsetup.sh index 8a035147..8161e1aa 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -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