From: ShimTanny Date: Sun, 30 Oct 2022 10:40:38 +0000 (+0200) Subject: do_cmake.sh: build with correct python version on rocky os X-Git-Tag: v19.0.0~899^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2574672c2fcdf24abf8a0d335959428d892b675a;p=ceph.git do_cmake.sh: build with correct python version on rocky os Fixes: https://tracker.ceph.com/issues/57945 Signed-off-by: ShimTanny --- diff --git a/do_cmake.sh b/do_cmake.sh index 50274547fbf9..7ace2daaebf9 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"