[MXS-2206] Cmake version check fails with version = 3.10.2 Created: 2018-12-03  Updated: 2019-02-19  Resolved: 2019-02-19

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: None
Fix Version/s: 2.2.20

Type: Bug Priority: Major
Reporter: Snehal Rajmane Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Environment:

Ubuntu 18.04 Intel



 Description   

I have installed apt-get install cmake on Ubuntu 18.04
cmake --version
cmake version 3.10.2

cmake_version=`cmake --version | grep "cmake version" | awk '

{ print $3 }

'`
if [ "$cmake_version" \< "3.7.1" ] ; then

If condition failed and 3.10.2 > 3.7.1, but still its installing build from source cmake version.



 Comments   
Comment by Oleksandr [ 2018-12-16 ]

created fix

Generated at Thu Feb 08 04:12:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.