summaryrefslogtreecommitdiffstats
path: root/do_cmake.sh
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2023-07-12 11:07:12 +0200
committerGitHub <noreply@github.com>2023-07-12 11:07:12 +0200
commit31eb4d27478d4d1ac68a47a2c36f8f57943acbf7 (patch)
treed23af5450f0cdbbac273f64cb79eaccfdf0ca924 /do_cmake.sh
parentMerge pull request #50706 from rhcs-dashboard/dashboard-import-export-multisite (diff)
parentdo_cmake.sh: build with correct python version on rocky os (diff)
downloadceph-31eb4d27478d4d1ac68a47a2c36f8f57943acbf7.tar.xz
ceph-31eb4d27478d4d1ac68a47a2c36f8f57943acbf7.zip
Merge pull request #48672 from nokia/fix_do_cmake_python_for_rocky
do_cmake.sh: build with correct python version on Rocky Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Kefu Chai <tchaikov@gmail.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 eb521054ef4..6936a5596eb 100755
--- a/do_cmake.sh
+++ b/do_cmake.sh
@@ -31,7 +31,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"