On 09/29/2014 10:39 AM, Pinski, Andrew wrote:
I think this is not scalarable.
Why not use a switch instead of multiple ifs. Something like this (copied from our internal build scripts):
I agree with you, I prefer to use a switch instead of elseif. I did push the patch since Maxim needed it, but Will, can you rework this to use a switch ? I'm busy tracking down the other problem with backport validation.
- rob -