Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue: 7009: CMake/Centos7 Unable to find CMake even though it is ins…
…talled On some systems the binary 'cmake' for version 3 is named 'cmake3', therefor printing its version number prints: 'cmake3 version X.Y.Z' instead of 'cmake version X.Y.Z' This '3' digit in the middle breaks the regular expression extracting the version number. The following fix permit both way to work and the regexp to match the proper version number. Signed-off-by: Alexandre Lavigne <alexandre.lavigne@scality.com>
- Loading branch information