On 27 October 2016 at 08:10, Ed Bartosh <ed.bart...@linux.intel.com> wrote:
> + match = re.match(".* (\d\.\d)\.\d .*", output.split('\n')[0]) > Debian uses this string: gcc (Debian 4.9.2-10) 4.9.2 So your regex needs to be a bit more permissive, and it looks like grabbing the second number would be more appropriate here too. Ross
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core