]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake.sh: build with correct python version on rocky os 48672/head
authorShimTanny <shimon.tanny@nokia.com>
Sun, 30 Oct 2022 10:40:38 +0000 (12:40 +0200)
committerShimTanny <shimon.tanny@nokia.com>
Thu, 3 Nov 2022 12:41:45 +0000 (14:41 +0200)
Fixes: https://tracker.ceph.com/issues/57945
Signed-off-by: ShimTanny <shimon.tanny@nokia.com>
do_cmake.sh

index 50274547fbf995795d11e2bd070fd72f4a941aa3..7ace2daaebf98bac178ccf9c56fcbfa859479ef4 100755 (executable)
@@ -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"