Satish Balay <[email protected]> writes:
> If this looks ok - I can push to maint.
> [works for me with cmake 2.8.12 and 3.3.2]

That's fine.  $ only matches at the end of the string unless flags=re.M
is set.

> --------
> diff --git a/config/cmakeboot.py b/config/cmakeboot.py
> index 64accff..5818c14 100755
> --- a/config/cmakeboot.py
> +++ b/config/cmakeboot.py
> @@ -77,7 +77,7 @@ class PETScMaker(script.Script):
>  
>     output,error,retcode = self.executeShellCommand([self.cmake.cmake, 
> '--version'], checkCommand=noCheck, log=log)
>     import re
> -   m = re.match(r'cmake version (.+)$', output)
> +   m = re.match(r'cmake version (.+)', output)
>     if not m:
>         self.logPrint('Could not parse CMake version: %s, disabling cmake 
> build option' % output)
>         return False

Attachment: signature.asc
Description: PGP signature

Reply via email to