mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
do_cmake.sh: set python version for Fedora 37
If do_cmake.sh is being exeuted on Fedora 37 set Python version to 3.11. Signed-off-by: Rishabh Dave <ridave@redhat.com>
This commit is contained in:
parent
ef6b9ae3c7
commit
8b14da0466
@ -19,7 +19,9 @@ if [ -r /etc/os-release ]; then
|
||||
source /etc/os-release
|
||||
case "$ID" in
|
||||
fedora)
|
||||
if [ "$VERSION_ID" -ge "35" ] ; then
|
||||
if [ "$VERSION_ID" -ge "37" ] ; then
|
||||
PYBUILD="3.11"
|
||||
elif [ "$VERSION_ID" -ge "35" ] ; then
|
||||
PYBUILD="3.10"
|
||||
elif [ "$VERSION_ID" -ge "33" ] ; then
|
||||
PYBUILD="3.9"
|
||||
|
Loading…
Reference in New Issue
Block a user