summaryrefslogtreecommitdiffstats
path: root/do_cmake.sh
diff options
context:
space:
mode:
authorShimTanny <shimon.tanny@nokia.com>2022-10-30 11:40:38 +0100
committerShimTanny <shimon.tanny@nokia.com>2022-11-03 13:41:45 +0100
commit2574672c2fcdf24abf8a0d335959428d892b675a (patch)
tree18f339705aed14130fe25b63b635b53280ca132b /do_cmake.sh
parentMerge pull request #48667 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-pr... (diff)
downloadceph-2574672c2fcdf24abf8a0d335959428d892b675a.tar.xz
ceph-2574672c2fcdf24abf8a0d335959428d892b675a.zip
do_cmake.sh: build with correct python version on rocky os
Fixes: https://tracker.ceph.com/issues/57945 Signed-off-by: ShimTanny <shimon.tanny@nokia.com>
Diffstat (limited to 'do_cmake.sh')
-rwxr-xr-xdo_cmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/do_cmake.sh b/do_cmake.sh
index 50274547fbf..7ace2daaebf 100755
--- a/do_cmake.sh
+++ b/do_cmake.sh
@@ -29,7 +29,7 @@ if [ -r /etc/os-release ]; then
PYBUILD="3.7"
fi
;;
- rhel|centos)
+ rocky|rhel|centos)
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
if [ "$MAJOR_VER" -ge "9" ] ; then
PYBUILD="3.9"