mirror of
https://github.com/ceph/ceph
synced 2025-04-18 21:36:09 +00:00
do_cmake.sh: specify correct python version for centos 10 stream
Update the python version in the same tedious manner for centos 10 stream. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
af9e68edf7
commit
37a3fd46c5
@ -30,7 +30,9 @@ if [ -r /etc/os-release ]; then
|
||||
;;
|
||||
almalinux|rocky|rhel|centos)
|
||||
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
|
||||
if [ "$MAJOR_VER" -ge "9" ] ; then
|
||||
if [ "$MAJOR_VER" -ge "10" ] ; then
|
||||
PYBUILD="3.12"
|
||||
elif [ "$MAJOR_VER" -ge "9" ] ; then
|
||||
PYBUILD="3.9"
|
||||
elif [ "$MAJOR_VER" -ge "8" ] ; then
|
||||
PYBUILD="3.6"
|
||||
|
Loading…
Reference in New Issue
Block a user